Select to view content in your preferred language

Using Survey123 Connect to remove geolocator box and change basemaps.

65
2
Friday
Crinoid
Occasional Contributor

I've been designing a survey in Survey123 Connect that compares where people think they live (jurisdiction etc.) with where they actually live. In rural areas, people often live outside of the city that's listed on their mailing address. One question involves respondents placing a point on a map to show where they live. I need the map question to have no external information beyond aerial imagery so that it doesn't affect their responses on later questions. 

How can I use Survey123 Connect to remove all the Esri basemaps beyond the one map I have linked to the survey? And how can I remove the locator box? (Alternatively, we have an organization geolocator that we could use, but it's in Portal and I couldn't get the map to connect to it).

Thank you!

Screenshot 2025-02-07 093331.png

0 Kudos
2 Replies
ZacharySutherby
Esri Regular Contributor

Hello @Crinoid

You can use the mapTools parameter in the body::esri:style column of your XLSForm to disable search and mapSwitcher. 

What you can set is mapTools=zoom,home,locate and this will omit the search box and the ability to switch the basemap and only use the default map you have configured with the question. 

Thank you,
Zach
0 Kudos
Crinoid
Occasional Contributor
It makes me really happy to know that this might be possible! However, my map doesn't respond to anything I put in the "body::esri:style" column. If I change my question phrasing in "label" or delete my bad geocoder link from "bind::esri:parameters," those changes appear in the survey just fine. I fiddled with a bunch of combinations of "mapTools," "map," and "height" parameters, but nothing changes the map. Even if I delete my map item's ID it still shows the map on the published survey. Am I doing something wrong?
My desired parameters would be something like this:
mapTools=zoom,home map=4f565696482044c89e717e8bf1bb5cdf
Thank you!
0 Kudos