With the progresse maps feature, you can smoothly increase the level of details on your map as the user zooms in. You can start with a campus overview at zoom 16 and end up with a very detailed view at zoom 24.
Both places and layers can be configured to only display in a given zoom range.
Displaying layers in a given zoom range
In the layer editor, you can specify the minimum and maximum zoom for which you would like your layer to be displayed.
Displaying places in a given zoom range
For places, you can specify the minimum and maximum zooms in its style.
You can also use the batch edit feature to quickly change the minimum and maximum zooms of multiple places. How to edit multiple places at once?
Zoom ranges
The zooms can be specified from 0 to 26.
In most cases, including the standard Mapwize Apps and Websites, venues only appear at zoom 16 and the map zooms until 23. However, this can be changed if you are using the SDKs in your own app.
Is it good practice to leave empty the min zoom and/or the max zoom if you don't want to impose restrictions on it. Like if you want a place to only appear at zoom 19 but then stay visible for all higher levels, set the min zoom to 19 and leave the max zoom empty (null).
Using sources
When using sources, the min and max zoom levels or the underlying layers and places can be specified directly in the source configuration.
Using the API
Min and max zoom can also be set using the API.
For layers, the properties are "minZoom" and "maxZoom".
For places, the properties are "style.minZoom" and "style.maxZoom".
Comments
0 comments
Article is closed for comments.