Hello everyone,
This is what I want to do:
1) Query a map service searching for project ID = 12345, the result is a polygon. https://developers.arcgis.com/rest/services-reference/query-feature-service-layer-.htm
2) Zoom out the polygon shape 500 feet or more
3) Get map extension coordinates to build a Bounding Box:
Questions: I was able to do step number 1) running something like:
https://[arcgisserver]/arcgis/rest/services/Projects/Proj/MapServer/27/query?where=PROJID='12345'
How can I do step number 2, and 3.
Thanks
https://community.esri.com/message/443594?q=rest%20api%20get%20extent
IGeometry_Property_Example
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.