Description
The spatial reference of a map, layer, or inputs to and outputs from a task. Each projected and geographic coordinate system is defined by both a well-known ID (WKID) or a definition string (WKT).
The JavaScript API supports only well-known ID's. For a complete list of supported IDs and their corresponding definition strings, see:
Class hierarchy
esri.SpatialReference
Constructor
Properties
Constructor Detail
esri.SpatialReference(json)
Creates a new SpatialReference object.
Parameters:
|
<Object>
json |
Required |
The REST JSON representation of the spatial reference: {"wkid" : <wkid>}
|
Properties Detail