toMapboxBounds method
//////////// //////////// Converts to a Mapbox CoordinateBounds
Implementation
// III.D - Methods
///////////////
/// Converts to a Mapbox CoordinateBounds
mapbox.CoordinateBounds toMapboxBounds() {
return mapbox.CoordinateBounds(
southwest: mapbox.Point(coordinates: mapbox.Position(southwest.lng, southwest.lat)),
northeast: mapbox.Point(coordinates: mapbox.Position(northeast.lng, northeast.lat)),
infiniteBounds: false,
);
}