Is there a way to have a web map open up and zoom automatically into an X-Y location on the map? I have a road construction web map createdand I would like to have open up to a set location on the map when coming from the county’s main web page that list the various construction locations.
Tom,
There are many options you can do by appending parameters to the URL such as centering the map, see here:
Use URL parameters—Help | ArcGIS
Can I set a save webmap ID number and then the X-Y location?
You may have to use the extent option, as the center does not seem to work with a webmap
https://www.arcgis.com/home/webmap/viewer.html?webmap=44a2fddbd41e4f08a9b4ee96c26fe1bf&extent=-13079253.954115,3959110.3…
You could also try the find option:
https://www.arcgis.com/home/webmap/viewer.html?webmap=44a2fddbd41e4f08a9b4ee96c26fe1bf&find=64,31
Scale is automatically set when you use the webmap or find parameter; level is ignored. If you use the webmapparameter, the map is automatically zoomed to the full extent of the map. If you use the find parameter, the map is automatically zoomed to the best extent of the found location.
For the extent what are the values in that string example and is their a tool that will easily pull those vales out for me?
Thank you for your help
Tom
Les membres connectés peuvent publier, suivre les mises à jour, et plus encore. Nouveau ici ? Inscrivez-vous gratuitement.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.