Package | Description |
---|---|
com.gwidgets.api.leaflet | |
com.gwidgets.api.leaflet.elemental | |
com.gwidgets.api.leaflet.options | |
com.gwidgets.api.leaflet.utils | |
com.gwidgets.leaflet.test |
Modifier and Type | Method and Description |
---|---|
static com.google.gwt.core.client.JsArray<com.google.gwt.core.client.JavaScriptObject> |
GeoJSON.coordsToLatlngs(com.google.gwt.core.client.JsArray<com.google.gwt.core.client.JavaScriptObject> coords,
double levelsDeep,
Function coordsToLatlngs)
Creates a multidimensional array of LatLngs from a GeoJSON coordinates array.
|
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 Layer |
GeoJSON.geometryToLayer(com.google.gwt.core.client.JavaScriptObject featureData,
Function pointToLayer)
Creates a layer from a given GeoJSON feature.
|
L |
Tooltip.on(java.lang.String type,
Function fn) |
L |
Renderer.on(java.lang.String type,
Function fn) |
L |
Popup.on(java.lang.String type,
Function fn) |
L |
Polyline.on(java.lang.String type,
Function fn) |
L |
Marker.on(java.lang.String type,
Function fn) |
L |
Map.on(java.lang.String type,
Function fn) |
L |
LayerGroup.on(java.lang.String type,
Function fn) |
L |
ImageOverlay.on(java.lang.String type,
Function fn) |
L |
Icon.on(java.lang.String type,
Function fn) |
L |
GridLayer.on(java.lang.String type,
Function fn) |
L |
Evented.on(java.lang.String type,
Function fn)
Adds a set of type/listener pairs.
|
L |
CircleMarker.on(java.lang.String type,
Function fn) |
L |
Tooltip.once(java.lang.String type,
Function fn) |
L |
Renderer.once(java.lang.String type,
Function fn) |
L |
Popup.once(java.lang.String type,
Function fn) |
L |
Polyline.once(java.lang.String type,
Function fn) |
L |
Marker.once(java.lang.String type,
Function fn) |
L |
Map.once(java.lang.String type,
Function fn) |
L |
LayerGroup.once(java.lang.String type,
Function fn) |
L |
ImageOverlay.once(java.lang.String type,
Function fn) |
L |
Icon.once(java.lang.String type,
Function fn) |
L |
GridLayer.once(java.lang.String type,
Function fn) |
L |
Evented.once(java.lang.String type,
Function fn)
the listener will only get fired once and then removed.
|
L |
CircleMarker.once(java.lang.String type,
Function fn) |
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 | Field and Description |
---|---|
Function |
Element.onload |
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,
Layer 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,
Layer 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.
|
Modifier and Type | Method and Description |
---|---|
static void |
LeafletResources.whenReady(Function function) |
Modifier and Type | Method and Description |
---|---|
static void |
InjectedLeafletResources.whenReady(Function function) |