Projects an array of VEShapes to geometries in JSON format.
Namespace:
ESRI.ArcGIS.VE(in ArcGISVE.exe)
Syntax
| JScript |
|---|
function ProjectFromVEShapes( veshapes : array<VEShapes>[]()[], outSR : String, callback : Function ) |
Parameters
- veshapes
- Type: array<VEShapes>[]()[]
Array of VEShapes to be projected to geometries in JSON format.
- outSR
- Type: String
Output spatial reference well-known ID (WKID).
- callback
- Type: Function
Function that will handle response. The callback function must take one argument, which will be the JSON-formatted object with projected geometries.
Remarks
Use this method to change the coordinate system of map features from
the latitude/longitude coordinate system used by Virtual Earth (WGS 1984, with a WKID of 4326) to another coordinate system. The method also converts
the features from VEShapes to
JSON-formatted geometries. For a list of coordinate system IDs, see the topic "Using Spatial References" at the
ArcGIS Server REST API reference.
