@JsType(isNative=true,
namespace="<global>",
name="Object")
public interface GeoJSONOptions
| Modifier and Type | Method and Description |
|---|---|
elemental2.core.Function |
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).
|
elemental2.core.Function |
filter(com.google.gwt.core.client.JavaScriptObject featureData,
Layer layer)
Function that will be used to decide whether to show a feature or not.
|
elemental2.core.Function |
onEachFeature(com.google.gwt.core.client.JavaScriptObject featureData,
Layer layer)
Function that will be called on each created feature layer.
|
elemental2.core.Function |
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).
|
elemental2.core.Function |
style(com.google.gwt.core.client.JavaScriptObject featureData)
Function that will be used to get style options for vector layers created for GeoJSON features.
|
elemental2.core.Function pointToLayer(com.google.gwt.core.client.JavaScriptObject featureData,
LatLng latlng)
featureData - the feature datalatlng - the latlngelemental2.core.Function style(com.google.gwt.core.client.JavaScriptObject featureData)
featureData - the feature dataelemental2.core.Function onEachFeature(com.google.gwt.core.client.JavaScriptObject featureData,
Layer layer)
featureData - the feature datalayer - the layerelemental2.core.Function filter(com.google.gwt.core.client.JavaScriptObject featureData,
Layer layer)
featureData - the feature datalayer - the layerelemental2.core.Function coordsToLatLng(com.google.gwt.core.client.JsArray<com.google.gwt.core.client.JavaScriptObject> coords)
coords - the coordsCopyright © 2018 G-Widgets. All rights reserved.