So let's say there's an ESRI app that covers the entire United States. However, I am only interested to view a particular state.
Is there an ESRI web product (maybe an Instant App template) where I can just embed the app and create a bookmark and then add it or like save the current view/extent of the embedded app map? This way when the app loads I only see the area of interest instead of the whole area.
Solved! Go to Solution.
Some types of apps support URL parameters that let you define where the map will start. For example, Web AppBuilder apps support parameters for where the map should be centered and what scale it should start at:
https://doc.arcgis.com/en/web-appbuilder/latest/manage-apps/app-url-parameters.htm
I think you could embed the app in another page with those URL parameters. Whether or not this sort of thing works will depend on the specific app though, I think.
Some types of apps support URL parameters that let you define where the map will start. For example, Web AppBuilder apps support parameters for where the map should be centered and what scale it should start at:
https://doc.arcgis.com/en/web-appbuilder/latest/manage-apps/app-url-parameters.htm
I think you could embed the app in another page with those URL parameters. Whether or not this sort of thing works will depend on the specific app though, I think.
@MobiusSnake thank you for the response and link, what about this app?
https://arcgis-content.maps.arcgis.com/apps/instant/insets/index.html?appid=90762e3294934a2da555eebc...
Like can I use ?center=34,-50 at the end of the URL?
Na I tried ?center=-34,-50 and it did not work.
https://www.esri.com/arcgis-blog/products/arcgis-online/mapping/using-url-parameters-in-web-apps/. This solves it for Instant Apps. But it does not work on the above Inset Instant app, strange!
So it turns out, Inset Instant Apps don't support URL parameters.
https://doc.arcgis.com/en/instant-apps/latest/create-apps/pdf/arcgis-instant-apps-matrix.pdf