Package | Description |
---|---|
net.java.html.leaflet |
Leaflet API for Java built around the
Map class. |
Modifier and Type | Class and Description |
---|---|
class |
FeatureGroup
A group of features.
|
class |
MultiPolygon
Extends
FeatureGroup to allow creating multi-polygons (single
layer that consists of several polygons that share styling/popup). |
class |
MultiPolyline
Extends
FeatureGroup to allow creating multi-polylines (single
layer that consists of several polylines that share styling/popup). |
Modifier and Type | Method and Description |
---|---|
LayerGroup |
LayerGroup.addLayer(ILayer layer)
Adds a given layer to the group.
|
LayerGroup |
LayerGroup.addTo(Map map)
Adds the group of layers to the map.
|
LayerGroup |
LayerGroup.clearLayers()
Removes all the layers from the group.
|
LayerGroup |
LayerGroup.removeLayer(ILayer layer)
Removes a given layer from the group.
|
LayerGroup |
LayerGroup.removeLayer(String layerId)
Removes a given layer of the given id from the group.
|
Copyright © 2017. All rights reserved.