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

Allow imagery minZoom variable to be overriden in imagery json data #1481

Closed
emersonveenstra opened this issue Jul 3, 2024 · 0 comments · Fixed by #1496
Closed

Allow imagery minZoom variable to be overriden in imagery json data #1481

emersonveenstra opened this issue Jul 3, 2024 · 0 comments · Fixed by #1496
Labels
bug Something isn't working
Milestone

Comments

@emersonveenstra
Copy link
Contributor

emersonveenstra commented Jul 3, 2024

Description

Right now minZoom is hardcoded to be currentZoom - 5 in https://github.com/facebook/Rapid/blob/main/modules/pixi/PixiLayerBackgroundTiles.js#L164. For overlays and imagery that don't provide data up to zoom level 18, this causes them to disappear at higher zoom levels. It would be nice for this to be configurable so that they don't disappear.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants