@JsType
public interface GeoJSONOptions
Modifier and Type | Method and Description |
---|---|
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).
|
Function |
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 |
onEachFeature(com.google.gwt.core.client.JavaScriptObject featureData,
ILayer layer)
Function that will be called on each created feature layer.
|
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).
|
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.
|
Function pointToLayer(com.google.gwt.core.client.JavaScriptObject featureData, LatLng latlng)
featureData
- the feature datalatlng
- the latlngFunction style(com.google.gwt.core.client.JavaScriptObject featureData)
featureData
- the feature dataFunction onEachFeature(com.google.gwt.core.client.JavaScriptObject featureData, ILayer layer)
featureData
- the feature datalayer
- the layerFunction filter(com.google.gwt.core.client.JavaScriptObject featureData, ILayer layer)
featureData
- the feature datalayer
- the layerFunction coordsToLatLng(com.google.gwt.core.client.JsArray<com.google.gwt.core.client.JavaScriptObject> coords)
coords
- the coords