public class SpatialReference
extends com.google.gwt.core.client.JavaScriptObject
Modifier and Type | Method and Description |
---|---|
static SpatialReference |
create(int wkid)
Creates a new SpatialReference object.
|
static SpatialReference |
create(com.google.gwt.core.client.JavaScriptObject jso)
Creates a new SpatialReference object.
|
static SpatialReference |
create(java.lang.String wkt)
Creates a new SpatialReference object.
|
int |
getWkid()
The well-known ID of a spatial reference
|
java.lang.String |
getWkt()
The well-known text that defines a spatial reference.
|
com.google.gwt.core.client.JavaScriptObject |
toJson()
Returns an easily serializable object representation of the spatial reference.
|
public static SpatialReference create(com.google.gwt.core.client.JavaScriptObject jso)
jso
- - The ArcGis REST JSON representation of the spatial referencepublic static SpatialReference create(int wkid)
wkid
- - The well-known ID of a spatial referencepublic static SpatialReference create(java.lang.String wkt)
wkt
- - The well-known wkt stringpublic final int getWkid()
public final java.lang.String getWkt()
public final com.google.gwt.core.client.JavaScriptObject toJson()