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 59 #60

Merged
merged 2 commits into from
Sep 19, 2016
Merged

Fix 59 #60

merged 2 commits into from
Sep 19, 2016

Conversation

mdartic
Copy link
Member

@mdartic mdartic commented Sep 19, 2016

Try to fix #59
Deep copy instead of slice latLngs with JSON.parse & stringify.
Slice does a shallow copy, that's a problem for nested arrays.

@mdartic mdartic merged commit 7907716 into master Sep 19, 2016
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.

Function "closest" adds extra points to layers
1 participant