In contrast to raster tile layers, the maxZoom for vector tile layers isn't determined by the served tiles (up to zoom level 14). Hence, the maxZoom for vector tile layers is more of an integration decision than an inherent property of the tile layer itself. Therefore, I argue, the maxZoom for vector tile layers should be set in the layers.yml instead.
Also resolves #6222. You can view, comment on, or merge this pull request online at: https://github.com/openstreetmap/openstreetmap-website/pull/6228 -- Commit Summary -- * Bundle vector layer maxZoom definitions in layers.yml -- File Changes -- M app/assets/javascripts/leaflet.maptiler.js (1) M config/layers.yml (2) -- Patch Links -- https://github.com/openstreetmap/openstreetmap-website/pull/6228.patch https://github.com/openstreetmap/openstreetmap-website/pull/6228.diff -- Reply to this email directly or view it on GitHub: https://github.com/openstreetmap/openstreetmap-website/pull/6228 You are receiving this because you are subscribed to this thread. Message ID: <openstreetmap/openstreetmap-website/pull/6...@github.com>
_______________________________________________ rails-dev mailing list rails-dev@openstreetmap.org https://lists.openstreetmap.org/listinfo/rails-dev