fitBounds

abstract fun fitBounds(bounds: MTBounds, options: MTFitBoundsOptions? = null)

Adjusts the camera to ensure the entire bounding box is visible.

Parameters

bounds

Geographical area that must be visible once the transition completes.

options

Optional animation and padding configuration applied while fitting the bounds.