containsBounds method

bool containsBounds(
  1. LatLngBounds bounds
)

Implementation

bool containsBounds(LatLngBounds bounds) {
  var sw2 = bounds._sw!;
  var ne2 = bounds._ne;
  return (sw2.latitude >= _sw!.latitude) &&
      (ne2!.latitude <= _ne!.latitude) &&
      (sw2.longitude >= _sw!.longitude) &&
      (ne2.longitude <= _ne!.longitude);
}