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

Support for real distance on nearbyDistance function #54

Open
yvomenezes opened this issue Dec 16, 2022 · 1 comment
Open

Support for real distance on nearbyDistance function #54

yvomenezes opened this issue Dec 16, 2022 · 1 comment

Comments

@yvomenezes
Copy link

The nearbyDistance function currently takes into consideration only the pixel distance between the markers. Would it be possible to add support for real distance?

@jawj
Copy link
Owner

jawj commented Dec 19, 2022

I'm not sure this is really in scope for this library. nearbyDistance specifies the pixel radius within which other markers will be spiderfied. It's in pixels, not metres, because it's about how close together the markers are on the map at the current zoom level, not in real life.

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

2 participants