Skip to content

Why MAX_MAXZOOM = 15? #506

Answered by bdon
tyrauber asked this question in Q&A
Mar 9, 2023 · 2 comments · 14 replies
Discussion options

You must be logged in to vote

Hi Ty,

You should enable overzooming in your map: the source object in the map style should be set to 15, like here: https://github.com/protomaps/basemaps/blob/main/index.html#L45

More generally, MAX_MAXZOOM=15 is a technical limitation of Planetiler's 32-bit internal tile addressing. However, zoom 15 is sufficient for detailed mapping of typical street-level datasets when combined with overzooming, anywhere from zoom 16-20 should look fine as the renderer is re-using the zoom 15 tile.

Replies: 2 comments 14 replies

Comment options

You must be logged in to vote
10 replies
@bdon
Comment options

@YohanSciubukgian
Comment options

@bdon
Comment options

@YohanSciubukgian
Comment options

@bdon
Comment options

Answer selected by tyrauber
Comment options

You must be logged in to vote
4 replies
@msbarry
Comment options

@erik
Comment options

@bdon
Comment options

@erik
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
6 participants