public class GeoJsonFormat extends FeatureFormat implements Serializable
counter, JS_GLOBAL, objectIds| Constructor and Description |
|---|
GeoJsonFormat()
Creates a new instance.
|
GeoJsonFormat(String defaultProjection,
String geometryName)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
GeoJsonFormat |
defaultProjection(String defaultProjection)
Sets the default projection.
|
GeoJsonFormat |
geometryName(String geometryName)
Sets the geometry name.
|
String |
getDefaultProjection()
Returns the default projection.
|
String |
getGeometryName()
Returns the geometry name.
|
String |
getJsType()
Returns a String with the type of Javascript object that this object represents.
|
String |
renderJs()
Returns a String with containing the rendered Javascript code for this object.
|
void |
setDefaultProjection(String defaultProjection)
Sets the default projection.
|
void |
setGeometryName(String geometryName)
Sets the geometry name.
|
escapeQuoteJs, getJsId, getJsIdWithSuffixpublic String getDefaultProjection()
public void setDefaultProjection(String defaultProjection)
defaultProjection - New valuepublic GeoJsonFormat defaultProjection(String defaultProjection)
defaultProjection - New valuepublic String getGeometryName()
public void setGeometryName(String geometryName)
geometryName - New valuepublic GeoJsonFormat geometryName(String geometryName)
geometryName - New valuepublic String getJsType()
JavascriptObjectgetJsType in interface IJavascriptObjectgetJsType in class FeatureFormatpublic String renderJs()
JavascriptObjectrenderJs in interface IJavascriptObjectrenderJs in class JavascriptObjectCopyright © 2014–2017. All rights reserved.