See the Leaflet plugins page, on which you'll find leaflet point-in-polygon and Leaflet.LayerIndex.
Leaflet — point in which polygon? Rtree?
Domanda
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?
Soluzione
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow