MinZoom() limitation #811
-
Based on https://github.com/systemed/tilemaker/blob/master/docs/CONFIGURATION.md MinZoom(zoom): set the minimum zoom level (0-15) at which this object will be written. Note that the JSON layer configuration minimum still applies (so :MinZoom(5) will have no effect if your layer only starts at z6). Is there any reason the "max" MinZoom is 15 ? Maplibre-gl can go up to level 24, what if I want to render some features only at some zoom level above 15 ? Also as of now setting |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
It is in theory possible to generate vector tiles at (say) z22, but if you're doing that for any non-negligible area, you will need to do it dynamically - probably by serving from a PostGIS database - rather than pre-generating tiles with tilemaker. |
Beta Was this translation helpful? Give feedback.
MinZoom
just dictates the actual vector tiles that the feature is written to. You will almost never actually generate vector tiles at z16+. At higher zoom levels, Maplibre et al traditionally take the z14 (or z15) tiles and render them at a greater scale. If you want to further adjust what appears at z15-z24 you will need to set that in your stylesheet.It is in theory possible to generate vector tiles at (say) z22, but if you're doing that for any non-negligible area, you will need to do it dynamically - probably by serving from a PostGIS database - rather than pre-generating tiles with tilemaker.