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

The clustering behavior is strange when the zoom level is above 20 #243

Open
strstrst opened this issue Dec 13, 2023 · 0 comments
Open

The clustering behavior is strange when the zoom level is above 20 #243

strstrst opened this issue Dec 13, 2023 · 0 comments

Comments

@strstrst
Copy link

Supercluster stores all positions internally on a 32-bit floating point array. When it converts these positions to 32 bits with Math.fround, 2 different positions can be converted to the same position. As a result, these 2 positions are always clustered. Could you add a parameter to configure the use of Math.fround?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants