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!
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.
To follow up, I tried creating a blank survey with a map question and set body::esri:style to be "mapTools=zoom,home". When I then click the map icon in Survey123 Connect, it shows a nice map with the zoom and home buttons. However, the actual published survey shows the full suite of tools still.The map in Survey123 Connect
The map on the published web survey
Hello @Crinoid,
Apologies for the delay in response, also apologies I saw your post and was excited that we had the functionality you are looking for but failed to double check if it was supported in the web app.
Unfortunately at this time the mapTools parameter is not supported in the Survey123 web app. With that though as it happens support for the mapTools parameter is planned to be introduced in the web app with our 3.22 release next week.
You can test this on your end if you navigate to https://survey123beta.arcgis.com/?portalUrl=https://www.arcgis.com and open your survey in the beta Survey123 web app. It's not recommended to use the survey123beta website for production use but when 3.22 is released if your survey is set to "Always use the latest version" in the surveys settings the feature will be automatically picked up.