Package | Description |
---|---|
net.java.html.leaflet |
Leaflet API for Java built around the
Map class. |
Modifier and Type | Method and Description |
---|---|
MultiPolygon |
MultiPolygon.addLayer(ILayer layer)
Adds a given layer to the group.
|
MultiPolygon |
MultiPolygon.addTo(Map map)
Adds the group of layers to the map.
|
MultiPolygon |
MultiPolygon.bindPopup(String html)
Binds a popup with a particular HTML content to a click on this group.
|
MultiPolygon |
MultiPolygon.bindPopup(String html,
PopupOptions options)
Binds a popup with a particular HTML content and the given options to the
group.
|
MultiPolygon |
MultiPolygon.bringToBack()
Brings the layer to the bottom of all path layers.
|
MultiPolygon |
MultiPolygon.bringToFront()
Brings the layer to the top of all path layers.
|
MultiPolygon |
MultiPolygon.clearLayers()
Removes all the layers from the group.
|
MultiPolygon |
MultiPolygon.openPopup()
Opens the popup previously bound by
bindPopup . |
MultiPolygon |
MultiPolygon.removeLayer(ILayer layer)
Removes a given layer from the group.
|
MultiPolygon |
MultiPolygon.removeLayer(String layerId)
Removes a given layer of the given id from the group.
|
MultiPolygon |
MultiPolygon.setLatLngs(LatLng[][] latlngs)
Replace all polygons and their paths with the given array of arrays of
geographical points.
|
MultiPolygon |
MultiPolygon.setStyle(PathOptions options)
Changes the appearance of a FeatureGroup based on the options in the
PathOptions object. |
Copyright © 2017. All rights reserved.