Select to view content in your preferred language

How to get geographic coordinate(lat/lon) of polygon and polyline.

654
1
12-10-2019 11:14 PM
kolinn
by
Emerging Contributor

I have no idea to get geographic coordinate (lat/long) of polygon and polyline. I'm using Sketch View Model esri javascript api 4.12.Please someone help.

0 Kudos
1 Reply
by Anonymous User
Not applicable

Hi ko linn‌,

You can reproject it into wgs84, wkid : 4326 , for each geometry.

a few useful link below

webMercatorUtils | ArcGIS API for JavaScript 4.14 

projection | ArcGIS API for JavaScript 4.14 

ArcGIS API for JavaScript Sandbox 

0 Kudos