Select to view content in your preferred language

How to get coordinates of a polygon from an embedded esri map using JavaScript and REST API?

494
0
01-16-2020 12:13 AM
SiyabongaKubeka
Regular Contributor

Hi All

I have an HTML file and I have embedded a map service or an esri map to it. When I run this html file, I can see the embedded map and I can draw polygons on that map. I also need to get the coordinates of the vertices of the polygon. How can I do that using JavaScript an REST API or any API? Please help.

Tags (2)
0 Kudos
0 Replies