zoomTo method

  1. @override
void zoomTo(
  1. double zoom, {
  2. bool animate = false,
})
override

Zoom the map to a specific zoom level.

zoom target zoom level animate set to true to zoom the map with animation. Default false

Implementation

@override
void zoomTo(double zoom, {bool animate = false}) {
  map?.zoomTo(zoom, animate);
}