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

MaxZoom not working as expected #16

Closed
lukeinage opened this issue Aug 30, 2022 · 2 comments
Closed

MaxZoom not working as expected #16

lukeinage opened this issue Aug 30, 2022 · 2 comments

Comments

@lukeinage
Copy link

lukeinage commented Aug 30, 2022

First off, excellent library @JiriHoffmann !
However I have found that that the maxZoom option does not work the same as the regular supercluster library. This could be my use of the extent tile size prop which I could be entering incorrectly. I've tried 256, 512 and 1024. This is both iOS + Android.

minZoom: 1,
maxZoom: 18,
extent: 1024,
radius: 120

This configuration will show all markers without clustering but once zoom level 21 is reached not 18.

Extents of 256 and 512 always seem to show the clusters no matter the entered maxZoom

Expected
Once the zoom level surpasses the number all markers should be shown within the viewport without clustering

@RamonAmaro
Copy link

Is it possible to get a change in the source code with package update to make maxZoom work?

@JiriHoffmann
Copy link
Owner

Sorry for the delay, finally got around to it and found the bug.

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

No branches or pull requests

3 participants