move method

  1. @override
void move(
  1. dynamic center, {
  2. double? zoom,
  3. bool animate = false,
})
override

Moves the map to a specific location and zoom level.

center can use format LatLng(20.0, 30.0) or 20.0, 30.0 animate set to true to move the map with animation. Default false.

Implementation

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