public class GeoJSONExt
extends org.gwtopenmaps.openlayers.client.format.GeoJSON
| Constructor and Description |
|---|
GeoJSONExt()
Instantiates a new geo JSON ext.
|
| Modifier and Type | Method and Description |
|---|---|
static String |
geoJSONtoWKT(String geoJsonString)
Geo JSO nto WKT.
|
static org.gwtopenmaps.openlayers.client.util.JSObject |
getCentroidForGeoJSON(String geoJsonString)
Gets the centroid for geo JSON.
|
org.gwtopenmaps.openlayers.client.geometry.Point |
getCentroidFromGeoJSON(String geoJson)
Gets the centroid from geo JSON.
|
static String |
toGeoJsonString(String geometryType,
String geometryCoordinate)
To geo json string.
|
org.gwtopenmaps.openlayers.client.geometry.Geometry |
toGeometry(String geoJson)
Parses the geometry.
|
org.gwtopenmaps.openlayers.client.geometry.Geometry |
toGeometryCentroid(String geoJson)
Parses the geometry.
|
read, write, writegetClassName, getEvents, narrowToOpenLayersObjectWrapperpublic org.gwtopenmaps.openlayers.client.geometry.Geometry toGeometry(String geoJson)
geoJson - the geo jsonpublic org.gwtopenmaps.openlayers.client.geometry.Point getCentroidFromGeoJSON(String geoJson)
geoJson - the geo jsonpublic org.gwtopenmaps.openlayers.client.geometry.Geometry toGeometryCentroid(String geoJson)
geoJson - the geo jsonpublic static String geoJSONtoWKT(String geoJsonString)
geoJsonString - the geo json stringpublic static org.gwtopenmaps.openlayers.client.util.JSObject getCentroidForGeoJSON(String geoJsonString)
geoJsonString - the geo json stringCopyright © 2020. All Rights Reserved.