Projects a set of geometries in JSON format to an array of VEShapes.

Namespace:  ESRI.ArcGIS.VE
  (in ArcGISVE.exe)

Syntax

JScript
 function ProjectToVEShapes(
	geometries : String, 
	inSR : String, 
	callback : Function
)

Parameters

geometries
Type: String
Geometries to be projected (in JSON format) to VEShapes.
inSR
Type: String
Spatial reference well-known ID (WKID) of the input geometries.
callback
Type: Function
Function that will handle the response. The callback function must take one argument, which will be the array of projected VEShapes.

Remarks

Use this method to change the coordinate system of map features from another type to the latitude/longitude coordinate system used by Virtual Earth (WGS 1984, with a WKID of 4326). The method also converts the features from JSON-formatted geometries to VEShapes. For a list of coordinate system IDs, see the topic "Using Spatial References" at the ArcGIS Server REST API reference.

See Also