require(["esri/tasks/ProjectParameters"], function(ProjectParameters) { /* code goes here */ });
Description
Samples
Search for
samples that use this class.
Constructors
Properties
Constructor Details
Creates a new ProjectParameters object.
Sample:
require([
"esri/tasks/ProjectParameters", ...
], function(ProjectParameters, ... ) {
var params = new ProjectParameters();
...
});
Property Details
The input geometries to project.
The spatial reference to which you are projecting the geometries.
Indicates whether to transform forward or not. The forward or reverse direction of transformation is implied in the name of the transformation.
Known values: true | false
The 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.
Sample:
var params = new ProjectParameters();
params.transformation.wkid = 1188; //NAD_1983_To_WGS_1984_1