How to add esriMeters to Location picker in measure widget

230
0
03-13-2023 01:31 PM
AnjuPaul
New Contributor II

Hi,

I would like to add option to select esriMeter as unit for the Location picker in Measure widget.

This is the code that I have got so far. This will provide the option to choose Meters, but does not provide the output as it shows calculating.

 

this.measurement = new Measurement(measurementJson, this.measurementDiv);
this.measurement.startup();
this.measurement._locationUnitStrings = ["Degrees", "Meters"];
this.measurement._locationUnitStringsLong = ["esriDecimalDegrees", "esriMeters"];

 

Any help would be appreciated.

 

Thank you,

Anju

0 Kudos
0 Replies