flyTo method

LeafletMap flyTo(
  1. LatLng latlng, [
  2. double? zoom,
  3. ZoomPanOptions? options
])

Sets the view of the map (geographical center and zoom) performing a smooth pan-zoom animation.

Implementation

external LeafletMap flyTo(LatLng latlng,
    [double? zoom, ZoomPanOptions? options]);