dimfeld / svelte-maplibre

Svelte bindings for the MapLibre mapping library
https://svelte-maplibre.vercel.app
MIT License
344 stars 40 forks source link

Zoom range for vector layer. #193

Closed gagan-bansal closed 3 months ago

gagan-bansal commented 3 months ago

It is great effort to make mapping very simple!

I just starting this lib and find it very helpful particularly in terms of data reactivity. I was checking the example vector_source. I noticed that the vector tiles are being rendered up to zoom 14 only. How is this restriction for zoom level being achieved? I don't see maxzoom property being used anywhere or did I miss something?

dimfeld commented 3 months ago

This is just a property of the tile set itself. See https://www.mapillary.com/developer/api-documentation#coverage-tiles

gagan-bansal commented 3 months ago

Thank you for the clarification and providing the documentation.