-
Notifications
You must be signed in to change notification settings - Fork 93
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
Function "closest" adds extra points to layers #59
Comments
You're right. |
@mdartic, |
@mdartic,
|
@aver-ua thanks for the fix, worked perfectly for me. |
@aver-ua sorry to be so late, but do you have now a small example to be integrate in a test ? |
@mdartic sorry to be so so so late... closest: function (map, layer, latlng, vertices) {
moreover, the previous version with |
There is an issue, described in title
Please see this plunk
Click to set markers and see in console how latlngs of polygon grows.
It seems to me, that it happens because function "slice()" does not makes deep copy for nested arrays (line 205 in source)
The text was updated successfully, but these errors were encountered: