Select to view content in your preferred language

Embed an external (public but not owned by the user) ESRI app and bookmark to a location

880
6
Jump to solution
11-21-2023 10:07 AM
Ed_
by MVP Regular Contributor
MVP Regular Contributor

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.

Question | Analyze | Visualize
0 Kudos
1 Solution

Accepted Solutions
MobiusSnake
MVP Regular Contributor

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.

View solution in original post

6 Replies
MobiusSnake
MVP Regular Contributor

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.

Ed_
by MVP Regular Contributor
MVP Regular Contributor

@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...

Question | Analyze | Visualize
0 Kudos
Ed_
by MVP Regular Contributor
MVP Regular Contributor

Like can I use ?center=34,-50 at the end of the URL?

Question | Analyze | Visualize
0 Kudos
Ed_
by MVP Regular Contributor
MVP Regular Contributor

Na I tried ?center=-34,-50 and it did not work.

Question | Analyze | Visualize
0 Kudos
Ed_
by MVP Regular Contributor
MVP Regular Contributor

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!

Question | Analyze | Visualize
0 Kudos
Ed_
by MVP Regular Contributor
MVP Regular Contributor

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

Question | Analyze | Visualize
0 Kudos