getBoundsZoom method

double getBoundsZoom(
  1. LatLngBounds bounds, [
  2. bool? inside,
  3. Point? padding
])

Returns the maximum zoom level on which the given bounds fit to the map view in its entirety. If inside (optional) is set to true, the method instead returns the minimum zoom level on which the map view fits into the given bounds in its entirety.

Implementation

external double getBoundsZoom(LatLngBounds bounds,
    [bool? inside, Point? padding]);