intersects method

bool intersects(
  1. LatLngBounds bounds
)

Check if the given bounds intersect with this bounds in one point or more.

Implementation

bool intersects(LatLngBounds bounds){
    return contains(bounds.getNorthEast())||contains(bounds.getNorthWest())||contains(bounds.getSouthEast())||contains(bounds.getSouthWest());

}