Package | Description |
---|---|
com.gwidgets.api.leaflet | |
com.gwidgets.api.leaflet.events | |
com.gwidgets.api.leaflet.options |
Modifier and Type | Class and Description |
---|---|
class |
Canvas
Used to create Canvas-based tile layers where tiles get drawn on the browser side.
|
class |
FeatureGroup
Extended layerGroup that also has mouse events (propagated from members of the group) and a shared bindPopup method.
|
class |
GeoJSON
Represents a GeoJSON object or an array of GeoJSON objects.
|
class |
ImageOverlay
Used to load and display a single image over specific bounds of the map, implements ILayer interface.
|
class |
LayerGroup
Used to group several layers and handle them as one.
|
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 |
TileLayer
Used to load and display tile layers on the map,
|
class |
WMS
Used to display WMS services as tile layers on the map.
|
Modifier and Type | Method and Description |
---|---|
static ILayer |
GeoJSON.geometryToLayer(com.google.gwt.core.client.JavaScriptObject featureData,
Function pointToLayer)
Creates a layer from a given GeoJSON feature.
|
Modifier and Type | Method and Description |
---|---|
L |
Layers.addBaseLayer(ILayer layer,
java.lang.String name)
Adds a base layer (radio button entry) with the given name to the control.
|
L |
LayerGroup.addLayer(ILayer layer)
Adds a given layer to the group.
|
L |
Map.addLayer(ILayer layer,
java.lang.Boolean insertAtTheBottom)
Adds the given layer to the map.
|
L |
Layers.addOverlay(ILayer layer,
java.lang.String name)
Adds an overlay (checkbox entry) with the given name to the control.
|
static FeatureGroup |
L.featureGroup(ILayer[] layers)
Extended layerGroup that also has mouse events (propagated from members of the group) and a shared bindPopup method.
|
java.lang.Boolean |
Map.hasLayer(ILayer layer)
Returns true if the given layer is currently added to the map.
|
java.lang.Boolean |
LayerGroup.hasLayer(ILayer layer)
Returns true if the given layer is currently added to the group.
|
static LayerGroup |
L.layerGroup(ILayer[] layers)
Used to group several layers and handle them as one.
|
static Popup |
L.popup(PopupOptions options,
ILayer source)
Used to open popups in certain places of the map.
|
L |
Map.removeLayer(ILayer layer)
Removes the given layer from the map.
|
L |
Layers.removeLayer(ILayer layer)
Remove the given layer from the control.
|
L |
LayerGroup.removeLayer(ILayer layer)
Removes a given layer from the group.
|
Modifier and Type | Method and Description |
---|---|
ILayer |
TileEvent.getLayer() |
ILayer |
ResizeEvent.getLayer() |
ILayer |
PopupEvent.getLayer() |
ILayer |
LayerEvent.getLayer() |
ILayer |
LayerControlEvent.getLayer() |
ILayer |
GeoJSONEvent.getLayer() |
Modifier and Type | Method and Description |
---|---|
ILayer[] |
MapOptions.getLayers()
Gets the Layers that will be added to the map initially.
|
Modifier and Type | Method and Description |
---|---|
Function |
GeoJSONOptions.filter(com.google.gwt.core.client.JavaScriptObject featureData,
ILayer layer)
Function that will be used to decide whether to show a feature or not.
|
MapOptions.Builder |
MapOptions.Builder.layers(ILayer[] layers)
Layers that will be added to the map initially.
|
Function |
GeoJSONOptions.onEachFeature(com.google.gwt.core.client.JavaScriptObject featureData,
ILayer layer)
Function that will be called on each created feature layer.
|