centerFromLatLngBounds method

Point<double> centerFromLatLngBounds(
  1. GoogleMapsUtilsLatLngBounds bounds
)

Returns the center point of the given bounds.

Implementation

Point<double> centerFromLatLngBounds(GoogleMapsUtilsLatLngBounds bounds) =>
    SphericalUtils.centerFromLatLngBounds(
      LatLngBoundsModel(northEast: bounds.ne, southWest: bounds.sw),
    );