mapbox / leaflet-pip

point in polygon intersections for leaflet
https://mapbox.github.io/leaflet-pip/
BSD 2-Clause "Simplified" License
199 stars 46 forks source link

A first attempt #2

Closed jeroen closed 11 years ago

jeroen commented 11 years ago

Here is a first attempt of optimizing using a bounding box.

tmcw commented 11 years ago

Y, so this tests as slower than unoptimized: unless Leaflet makes upstream changes to getBounds to cache it or generate it on construction. Closing for now.