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

Use getBounds instead of everytime calculation #17

Closed sectus closed 8 years ago

sectus commented 8 years ago

Bounds of polygones already calculated. It's better to use it via getBounds to reduce calulcation time.

tmcw commented 8 years ago

Sounds good: could you create a PR implementing this change?

tmcw commented 8 years ago

Closing as idle. PRs are accepted that would complete this task but unfortunately I don't have enough time to implement it myself and it's unlikely I'll be able to implement it in the foreseeable future.

Sorry about that - if this feature is a must-have, happy to accept a Pull Request implementing it!