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

fix(web): Map clustering when zoomed in #5299

Merged
merged 2 commits into from Nov 24, 2023
Merged

Conversation

danieldietzler
Copy link
Member

Fixes #5297.
Sets the maxZoom to a value that cannot be reached, therefore enabling clustering for any zoom.

@jrasm91
Copy link
Contributor

jrasm91 commented Nov 24, 2023

Can you also just not specify a max zoom to always cluster them?

@danieldietzler
Copy link
Member Author

danieldietzler commented Nov 24, 2023

Can you also just not specify a max zoom to always cluster them?

I tried but then it defaults to a value that is >14 but less than what was possible to zoom in. Since I've got the maxZoom set for the entire map now though, I can remove it

@alextran1502 alextran1502 merged commit 4684094 into main Nov 24, 2023
18 checks passed
@alextran1502 alextran1502 deleted the fix/map-clustering branch November 24, 2023 21:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] On the map, places with thousands picrtures aren't correctly rendered
4 participants