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

different counts of nonNearbyMarkers between spiderify and unspiderify events. #33

Open
MuellerMatthew opened this issue Jul 21, 2016 · 0 comments

Comments

@MuellerMatthew
Copy link

MuellerMatthew commented Jul 21, 2016

When the spiderify function generates the list of nonNearbyMarkers which are passed to the spiderify event listeners, it skips any markers that are not on the map, but when the unspiderify function generates the same list of nonNearbyMarkers it includes all markers regardless of whether they are on the map.

MuellerMatthew added a commit to MuellerMatthew/OverlappingMarkerSpiderfier-Leaflet that referenced this issue Jul 21, 2016
I am not a coffee script guy, but this seems to fix the issue with different lengths of arrays for nonNearbyMarkers between spiderify and unspiderify.
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

1 participant