flyToBounds method

LeafletMap flyToBounds(
  1. LatLngBounds bounds, [
  2. FitBoundOptions? options
])

Sets the view of the map with a smooth animation like flyTo, but takes a bounds parameter like fitBounds.

Implementation

external LeafletMap flyToBounds(LatLngBounds bounds,
    [FitBoundOptions? options]);