CloudMade/Leaflet — pull request #350 by pagameba (2011-10-27 15:12:46+00:00)
Title: Add intersects method to LatLngBounds

This commit adds an intersection test to LatLngBounds, it was necessary to add for my Bing layer when testing for intersection of current bounds against a list of copyright notices for the Bing layers that are supposed to change with the extents/zoom levels. I considered making it an option to the contains method and would be willing to resubmit with that change if you think it is better to combine the methods.

Cheers

Paul