fitBounds method
Implementation
bool fitBounds(
LatLngBounds bounds,
FitBoundsOptions options, {
Offset offset = Offset.zero,
}) {
final target = getBoundsCenterZoom(bounds, options);
return move(
target.center,
target.zoom,
offset: offset,
source: MapEventSource.fitBounds,
);
}