AnsweredAssumed Answered

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

Question asked by siyakubeka on Jan 16, 2020

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.

Outcomes