Select to view content in your preferred language

ArcGIS Instant Apps- URL Parameters- Is there a way to parameterize a device's location?

176
2
03-19-2025 12:36 PM
Amanda__Huber
MVP Regular Contributor

Hello, 

Our team is looking to see if Instant Apps can use a device's location as a URL parameter? Ideally, when the user opens the app it would ask for permissions for location then auto zoom to the device's location (no need for the user to interact with the location tracking button). 

Is this possible? I wasn't able to find any info in the documentation

 

Thanks,

Amanda Huber

2 Replies
KellyHutchins
Esri Frequent Contributor

This is not currently possible in the apps but its something we could look into for a future release. In Nearby and Lookup there is an option to add a "Use my location" button the the intro window that makes the current location option more visible. 

https://jsapi.maps.arcgis.com/apps/instant/lookup/index.html?appid=b3ba72a9a2b94f50bc89f0e048991107

 

Which app(s) are you using where you'd like to see this functionality?

0 Kudos
Amanda__Huber
MVP Regular Contributor

Hi @KellyHutchins , 

Thanks for your response, that's good to know. I think there would be a lot of value for Instant Apps to have this functionality.

We're currently using the sidebar app and media map for this project, but I could see this being useful across all instant apps as many times admins are configuring apps for their user's locations. 

 

Thanks,

Amanda Huber