0

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?

Lee Goddard
  • 10,680
  • 4
  • 46
  • 63

1 Answers1

1

See the Leaflet plugins page, on which you'll find leaflet point-in-polygon and Leaflet.LayerIndex.

tmcw
  • 11,536
  • 3
  • 36
  • 45