Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Web clients should infer maxzoom from metadata #48

Closed
bdon opened this issue Jun 12, 2022 · 2 comments
Closed

Web clients should infer maxzoom from metadata #48

bdon opened this issue Jun 12, 2022 · 2 comments
Labels
big feature a long term task

Comments

@bdon
Copy link
Member

bdon commented Jun 12, 2022

This is a gotcha when working with overzooming

see https://maplibre.org/maplibre-gl-js-docs/style-spec/sources/#vector-maxzoom

@bdon
Copy link
Member Author

bdon commented Oct 15, 2022

Leaflet GridLayer creation is synchronous; maxNativeZoom, minNativeZoom and bounds can only be specified at layer creation time. So to do this correctly using existing Leaflet APIs needs to be done by the user, or we need to change the layer creation API to be asynchronous.

@bdon
Copy link
Member Author

bdon commented Dec 2, 2022

Going to call this closed because it works for MapLibre. Leaflet is a pass since layer creation is synchronous.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
big feature a long term task
Projects
None yet
Development

No branches or pull requests

1 participant