containsBounds method

bool containsBounds(
  1. LatLngBounds bounds
)

Implementation

bool containsBounds(LatLngBounds bounds) {
  var sw = bounds._sw!;
  var ne = bounds._ne;

  return (sw.lat >= _sw!.lat) &&
      (ne!.lat <= _ne!.lat) &&
      (sw.lng >= _sw!.lng) &&
      (ne.lng <= _ne!.lng);
}