MFLatLngBounds constructor

MFLatLngBounds({
  1. required MFLatLng southwest,
  2. required MFLatLng northeast,
})

Creates geographical bounding box with the specified corners.

The latitude of the southwest corner cannot be larger than the latitude of the northeast corner.

Implementation

MFLatLngBounds({required this.southwest, required this.northeast})
    : assert(southwest != null),
      assert(northeast != null),
      assert(southwest.latitude <= northeast.latitude);