centerZoomFitBounds abstract method

CenterZoom centerZoomFitBounds(
  1. LatLngBounds bounds, {
  2. FitBoundsOptions? options,
})

Calcs the new center and zoom for the map bounds. Optional constraints can be defined through the options parameter.

Implementation

CenterZoom centerZoomFitBounds(LatLngBounds bounds,
    {FitBoundsOptions? options});