Select to view content in your preferred language

Using geolocated designs as location data background

262
3
2 weeks ago
NickFenn
Emerging Contributor

Hello,

New to Survey123. I Was wondering if it was possible to have the basemap change for location data on surveys depending on the selected site, if we have the designs geolocated and linked to that site id?

Tags (2)
0 Kudos
3 Replies
VenkataKondepati
Occasional Contributor

Yes, you can achieve this, though it takes some configuration. Out-of-the-box Survey123 does not dynamically swap basemaps based on a site choice, but there are a couple of common patterns:

  • Custom Web Maps by Site – Create web maps in ArcGIS Online/Enterprise for each site with the right basemap/design layers. In your survey, use the linked content option to point to those web maps. You can control which survey version (or web form link) corresponds to which site.

  • Dynamic Basemap Switching with JavaScript Functions – If you’re using the Survey123 web app with custom JS functions, you can listen for the site ID selection in a question and update the map widget’s basemap URL accordingly. This is more advanced but works well when you have geolocated designs tied to site IDs.

  • Map Centering & Extent – Even if you keep one basemap, you can use calculation expressions to pan/zoom the map to the site extent based on the selected ID. That way users still see the correct context automatically.

In my experience, the simplest starting point is linking surveys to web maps by site — clean separation, no scripting. If you want a single survey handling multiple sites with dynamic maps, then custom JavaScript in the web form is the way to go.

Regards,

Venkat

NickFenn
Emerging Contributor

thank you very much!

0 Kudos
VenkataKondepati
Occasional Contributor

If my response helps you, please accept it as a solution. Thank you.

0 Kudos