See the Leaflet plugins page, on which you'll find leaflet point-in-polygon and Leaflet.LayerIndex.
Leaflet — point in which polygon? Rtree?
質問
Does leaflet provide a method for determining which, if any, rendered point is within a polygon? Not by iterating over a bunch of shapes and checking bounds, but by using an rtree index, perhaps?
解決
所属していません StackOverflow