- Map point: Respondent marks a location on the map with a pin. The easiest map question that can be used to ask almost anything related to maps.
- Map line: Respondent draws a line, typically a route, on the map.
- Map area: Respondent draws an area on the map. This works best in surveys where the focus is on a large area. On projects with a smaller geographical scale (e.g. re-design a park), the Map point is often a better option as there won't be as much overlap between the areas that respondents draw.
Add a map question to your survey:
-
Add a background map to the questionnaire page (instructions).
-
Add the map question from the element library.
-
Write the question and the drawbutton text. Respondents click the drawbutton to start drawing on the map. Drawbuttons look like this in the survey:
Adjust the color of the button and add an icon to fit with the visual themes of your survey. You can browse the available icons at Font Awesome.
-
Click Create a pop-up to ask respondents further questions about the locations they mark/draw.
- Test in Preview.
Set the question to be mandatory
Go to the Extra settings tab > set the minimum and maximum number of responses
Restrict responses to a specific area
- Create the borders of the area in Materials > Create a map or upload a shp/geoJSON layer.
- Go to the questionnaire page Map and layout > select the map layer from Map overlay.
- Go to the question's Extra settings > Restrict area (mask layer). Select the map layer and choose whether the responses should be inside or outside the area.
Force respondents to zoom closer before they can draw on the map
Go to Extra settings > Minimum zoom level to set a zoom level for map responses.
Responses will not be accepted until respondent has met required zoom requirements. Detailed information about zoom levels can be found here.
Change the line color and width (in Map line and Map area)
Extra settings > Line color and width
Allow respondents to "freehand" draw on the map (in Map line and Map area)
Extra settings > Freehand drawing