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 created
and 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:
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
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
You can get lat/long values with the measure tool...then use the coordinates with a zoom level
http://www.arcgis.com/home/webmap/viewer.html?center=20,45&level=4
Mike
The values are the coordinates of the extent in the following order left, bottom, right, top. Because the basemap is in web Mercator these figures are in meters. If you are using a basemap in a different coordinate system then you will need to use the coordinates that are in the same projection.
if you are using the online basemaps then there is a good flex helper application for getting the extent here: