Package | Description |
---|---|
net.java.html.leaflet |
Leaflet API for Java built around the
Map class. |
Modifier and Type | Class and Description |
---|---|
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 |
---|---|
FeatureGroup |
FeatureGroup.addLayer(ILayer layer)
Adds a given layer to the group.
|
FeatureGroup |
FeatureGroup.addLayerListener(LayerEvent.Type type,
LayerListener listener)
Adds a layer listener to a particular layer event type of the object.
|
FeatureGroup |
FeatureGroup.addMouseListener(MouseEvent.Type type,
MouseListener listener)
Adds a mouse listener to a particular mouse event type of the object.
|
FeatureGroup |
FeatureGroup.addTo(Map map)
Adds the group of layers to the map.
|
FeatureGroup |
FeatureGroup.bindPopup(String html)
Binds a popup with a particular HTML content to a click on this group.
|
FeatureGroup |
FeatureGroup.bindPopup(String html,
PopupOptions options)
Binds a popup with a particular HTML content and the given options to the
group.
|
FeatureGroup |
FeatureGroup.bringToBack()
Brings the layer to the bottom of all path layers.
|
FeatureGroup |
FeatureGroup.bringToFront()
Brings the layer to the top of all path layers.
|
FeatureGroup |
FeatureGroup.clearAllEventListeners()
Removes all listeners to all events on the object.
|
FeatureGroup |
FeatureGroup.clearLayers()
Removes all the layers from the group.
|
FeatureGroup |
FeatureGroup.removeLayer(ILayer layer)
Removes a given layer from the group.
|
FeatureGroup |
FeatureGroup.removeLayer(String layerId)
Removes a given layer of the given id from the group.
|
FeatureGroup |
FeatureGroup.removeLayerListener(LayerEvent.Type type,
LayerListener listener)
Removes a layer listener to a particular layer event type of the object.
|
FeatureGroup |
FeatureGroup.removeMouseListener(MouseEvent.Type type,
MouseListener listener)
Removes a mouse listener to a particular mouse event type of the object.
|
FeatureGroup |
FeatureGroup.setStyle(PathOptions options)
Changes the appearance of a FeatureGroup based on the options in the
PathOptions object. |
Copyright © 2017. All rights reserved.