Package | Description |
---|---|
net.java.html.leaflet |
Leaflet API for Java built around the
Map class. |
net.java.html.leaflet.event |
Listeners and events for the leaflet API
|
Modifier and Type | Class and Description |
---|---|
class |
Circle
A class for drawing circle overlays on a map.
|
class |
CircleMarker
Class representing a marker on a map.
|
class |
FeatureGroup
A group of features.
|
class |
ImageOverlay
Used to load and display a single image over specific bounds of the map.
|
class |
LayerGroup
Used to group several layers and handle them as one.
|
class |
Marker
Class representing a marker on a map
|
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). |
class |
Path
An abstract class that contains options and constants shared between vector
overlays (Polygon, Polyline, Circle).
|
class |
Polygon
A class for drawing polygon overlays on a map.
|
class |
PolyLine
A class for drawing polyline overlays on a map.
|
class |
Popup
Used to open popups in certain places of the map.
|
class |
Rectangle
A class for drawing rectangle overlays on a map.
|
class |
TileLayer
Layer of tiles.
|
class |
TileLayerWMS
TileLayer used to display WMS services as tile layers on the map.
|
class |
UnknownLayer
Represents an unknown (generic)
ILayer , which is not wrapped (yet). |
Modifier and Type | Method and Description |
---|---|
ILayer[] |
Map.getLayers()
Returns all layers.
|
ILayer[] |
LayerGroup.getLayers()
Returns all layers in the group
|
Modifier and Type | Method and Description |
---|---|
MultiPolyline |
MultiPolyline.addLayer(ILayer layer)
Adds a given layer to the group.
|
MultiPolygon |
MultiPolygon.addLayer(ILayer layer)
Adds a given layer to the group.
|
Map |
Map.addLayer(ILayer layer)
Adds the given layer to the map.
|
LayerGroup |
LayerGroup.addLayer(ILayer layer)
Adds a given layer to the group.
|
FeatureGroup |
FeatureGroup.addLayer(ILayer layer)
Adds a given layer to the group.
|
boolean |
Map.hasLayer(ILayer layer)
Returns
true if the given layer is currently added to the
map. |
boolean |
LayerGroup.hasLayer(ILayer layer)
Returns
true if the given layer is currently added to the
group. |
MultiPolyline |
MultiPolyline.removeLayer(ILayer layer)
Removes a given layer from the group.
|
MultiPolygon |
MultiPolygon.removeLayer(ILayer layer)
Removes a given layer from the group.
|
Map |
Map.removeLayer(ILayer layer)
Removes the given layer from the map.
|
LayerGroup |
LayerGroup.removeLayer(ILayer layer)
Removes a given layer from the group.
|
FeatureGroup |
FeatureGroup.removeLayer(ILayer layer)
Removes a given layer from the group.
|
MapOptions |
MapOptions.setLayers(ILayer[] layers)
Layers that will be added to the map initially.
|
Constructor and Description |
---|
FeatureGroup(ILayer[] layers) |
LayerGroup(ILayer[] layers)
Creates a layer group from an array of layers
|
Popup(ILayer source)
Instantiates a Popup object given an source object that is used to tag
the popup with a reference to the ILayer to which it refers.
|
Popup(PopupOptions options,
ILayer source)
Instantiates a Popup object given an optional options object that
describes its appearance and location and an optional source object that
is used to tag the popup with a reference to the ILayer to which it
refers.
|
Modifier and Type | Method and Description |
---|---|
ILayer |
LayerEvent.getLayer() |
Constructor and Description |
---|
LayerEvent(Object src,
String type,
ILayer layer) |
Copyright © 2017. All rights reserved.