What is an XYZ map?
An XYZ map is a map compiled from map tiles that contain images or vector data. It is one of the most popular web-based map types, used by for example OpenStreetMap (installed automatically to all Maptionnaire teams).
Add it to your survey
-
Open Page settings and click New under Basemaps.
Scrollable survey? Click the map icon next to the card instead.
- Click URL and paste the server address.
- The address must contain
{z},{x}and{y}, for examplehttps://tile.example.com/{z}/{x}/{y}.png. That's how Maptionnaire recognises it as an XYZ map.
- The address must contain
- Maptionnaire recognises the service from the address and fills in Type. If it can't tell, choose the type yourself. Click Add.
- The layer appears on the map straight away, and its settings open beside the map. You see your changes on the map as you make them.
- Give the layer a Name. This is the name respondents see in the legend.
-
Adjust the settings and click Save:
- Attribute the map to its producers (e.g. OpenStreetMap). The attribution is displayed in the lower right corner of the map.
- Set the Zoom range. This should be the range for which the map server can produce tiles. Setting an incorrect range can make your map load slowly or not show up at all. Most servers support the range 1 to 19, and in general you should not need to change the lower end value of the range. If the map server supports very detailed views, you can increase the upper end of the range up to a maximum of 25. If the map layer disappears at high zoom levels, try lowering the upper end of the range.
The layer is saved in Materials, so your team can use it in other surveys too.
How do I use this map in a questionnaire?
For more information on how to use maps in questionnaires, see Set up a map in your survey (Quick guide).