Hide Table of Contents
esri
esri/arcgis
esri/dijit
esri/dijit/analysis
esri/dijit/geoenrichment
esri/dijit/geoenrichment/ReportPlayer
esri/geometry
esri/layers
esri/renderers
esri/symbols
esri/tasks
esri/tasks/datareviewer
esri/tasks/geoenrichment
esri/tasks/locationproviders
require(["esri/tasks/ProjectParameters"], function(ProjectParameters) { /* code goes here */ });
| Name | Summary |
|---|---|
| new ProjectParameters() | Creates a new ProjectParameters object. |
| Name | Type | Summary |
|---|---|---|
| geometries | Geometry[] | The input geometries to project. |
| outSR | SpatialReference | The spatial reference to which you are projecting the geometries. |
| transformForward | Boolean | Indicates whether to transform forward or not. |
| transformation | Object | The well-known id {wkid:number} or well-known text {wkt:string} or for the datum transformation to be applied on the projected geometries. |
require([
"esri/tasks/ProjectParameters", ...
], function(ProjectParameters, ... ) {
var params = new ProjectParameters();
...
});
Geometry[]> geometriesSpatialReference> outSRBoolean> transformForwardtrue | falseObject> transformationThe well-known id {wkid:number} or well-known text {wkt:string} or for the datum transformation to be applied on the projected geometries. If a transformation is specified a value must also be specified for the transformForward property. If a transformation is not specified, a default GeoTransformation is used.
var params = new ProjectParameters();
params.transformation.wkid = 1188; //NAD_1983_To_WGS_1984_1