fitBounds

open override fun fitBounds(bounds: MTBounds, options: MTFitBoundsOptions?)

Fits the viewport so that the supplied bounds are fully visible, applying optional padding or animation overrides.

Parameters

bounds

Geographical box that must be visible when the transition finishes.

options

Optional animation and padding configuration that fine-tunes the fitting behaviour.