Layers usually represent a single dataset; and arranged into a z-order by a Map for display. @source $URL$ @since 2.7 @version 8.0
348349350351352353354355
SimpleFeature feature = builder.buildFeature(null); memoryFeatureCollection.add(feature); Style style = SLD.createPointStyle("Circle", Color.RED, Color.GREEN, 1, 10); Layer layer = new FeatureLayer(memoryFeatureCollection, style); map.addLayer(layer); }