Packagecom.esri.ags
Classpublic class SpatialReference

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 ArcGIS API for Flex (and the underlying ArcGIS Server REST API) only supports well-known IDs (not definition strings). For a complete list of supported IDs and their corresponding definition strings, see links below.

See also

Geographic Coordinate Systems Listing
Projected Coordinate Systems Listing


Public Properties
 PropertyDefined by
  wkid : Number
The well-known ID of a spatial reference.
SpatialReference
Public Methods
 MethodDefined by
  
SpatialReference(wkid:Number)
Creates a new SpatialReference.
SpatialReference
Property detail
wkidproperty
public var wkid:Number

The well-known ID of a spatial reference.

Constructor detail
SpatialReference()constructor
public function SpatialReference(wkid:Number)

Creates a new SpatialReference.

Parameters
wkid:Number — The well-known ID of a spatial reference [Optional].