Package | Description |
---|---|
com.gwidgets.api.leaflet | |
com.gwidgets.api.leaflet.options |
Modifier and Type | Method and Description |
---|---|
java.lang.Boolean |
Map.eachLayer(Function action,
com.google.gwt.core.client.JavaScriptObject context)
Iterates over the layers of the map, optionally specifying context of the iterator function.
|
L |
LayerGroup.eachLayer(Function fn,
com.google.gwt.core.client.JavaScriptObject context)
Iterates over the layers of the group, optionally specifying context of the iterator function.
|
static ILayer |
GeoJSON.geometryToLayer(com.google.gwt.core.client.JavaScriptObject featureData,
Function pointToLayer)
Creates a layer from a given GeoJSON feature.
|
static L |
TileLayer.off(java.lang.String type,
Function fn)
the listener will only get fired once and then removed.
|
static L |
PosAnimation.off(java.lang.String type,
Function fn)
the listener will only get fired once and then removed.
|
static L |
Path.off(java.lang.String type,
Function fn)
the listener will only get fired once and then removed.
|
static L |
Marker.off(java.lang.String type,
Function fn)
the listener will only get fired once and then removed.
|
L |
Map.off(java.lang.String type,
Function fn)
the listener will only get fired once and then removed.
|
static L |
Layers.off(java.lang.String type,
Function fn)
the listener will only get fired once and then removed.
|
static L |
FeatureGroup.off(java.lang.String type,
Function fn)
the listener will only get fired once and then removed.
|
static L |
TileLayer.on(java.lang.String type,
Function fn)
Adds a set of type/listener pairs
|
static L |
PosAnimation.on(java.lang.String type,
Function fn)
Adds a set of type/listener pairs
|
static L |
Path.on(java.lang.String type,
Function fn)
Adds a set of type/listener pairs
|
static L |
Marker.on(java.lang.String type,
Function fn)
Adds a set of type/listener pairs.
|
L |
Map.on(java.lang.String type,
Function fn)
Adds a set of type/listener pairs.
|
static L |
Layers.on(java.lang.String type,
Function fn)
Adds a set of type/listener pairs
|
static L |
FeatureGroup.on(java.lang.String type,
Function fn)
Adds a set of type/listener pairs
|
static L |
TileLayer.once(java.lang.String type,
Function fn)
Once.
|
static L |
PosAnimation.once(java.lang.String type,
Function fn)
Once.
|
static L |
Path.once(java.lang.String type,
Function fn)
Once.
|
static L |
Marker.once(java.lang.String type,
Function fn)
Once.
|
L |
Map.once(java.lang.String type,
Function fn)
Once.
|
static L |
Layers.once(java.lang.String type,
Function fn)
Once.
|
static L |
FeatureGroup.once(java.lang.String type,
Function fn)
Once.
|
L |
GeoJSON.setStyle(Function style)
Changes styles of GeoJSON vector layers with the given style function.
|
L |
Map.whenReady(Function fn,
java.lang.Object context)
Runs the given callback when the map gets initialized with a place and zoom, or immediately if it happened already, optionally passing a function context.
|
Modifier and Type | Method and Description |
---|---|
Function |
GeoJSONOptions.coordsToLatLng(com.google.gwt.core.client.JsArray<com.google.gwt.core.client.JavaScriptObject> coords)
Function that will be used for converting GeoJSON coordinates to LatLng points (if not specified, coords will be assumed to be WGS84 — standard [longitude, latitude] values in degrees).
|
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.
|
Function |
GeoJSONOptions.onEachFeature(com.google.gwt.core.client.JavaScriptObject featureData,
ILayer layer)
Function that will be called on each created feature layer.
|
Function |
GeoJSONOptions.pointToLayer(com.google.gwt.core.client.JavaScriptObject featureData,
LatLng latlng)
Function that will be used for creating layers for GeoJSON points (if not specified, simple markers will be created).
|
Function |
GeoJSONOptions.style(com.google.gwt.core.client.JavaScriptObject featureData)
Function that will be used to get style options for vector layers created for GeoJSON features.
|