makinacorpus / Leaflet.GeometryUtil

Leaflet utility function on geometries
http://makinacorpus.github.io/Leaflet.GeometryUtil/
BSD 3-Clause "New" or "Revised" License
254 stars 94 forks source link

closestLayer: point is inside a layer that shares edges with other Layer #81

Open bowdawn opened 5 years ago

bowdawn commented 5 years ago

In some cases the closest layer is the other polygon instead of the layer in which the point is contained in...

leplatrem commented 5 years ago

Don't hesitate to write a small test case and submit a fix in a PR :)

This library has currently no paid maintainer that will fix bugs on demand :)