Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ProjectGeometriesCommand

The ProjectGeometriesCommand class is used to convert a featurecollection's geometry from one coordinate system to another. It returns the newly projected FeatureCollection

example



var feature = { type: "Feature", geometry: { type: "Point", coordinates: [-82.4414, 29.2001] }, properties: { id: 1, ImAProperty: true } };
var options = { wkid_in: "4326", wkid_out: "3087", name: "Albers", url: "http://thisurl/project", features: [feature] };
var command = new ProjectGeometriesCommand();
commmand.execute(options).then((features)=> doSomething(features));

Hierarchy

  • ProjectGeometriesCommand

Implements

Index

Methods

Methods

execute