sdk-maps / com.tomtom.online.sdk.map / UiSettings / centerOn

centerOn

abstract fun centerOn(cameraFocusArea: CameraFocusArea!, animationDuration: AnimationDuration!): Unit

Centers the map camera on the area determined by the BoundingBox defined in the CameraFocusArea. Using that, you can also rotate the map, change the map pitch, and adjust the animation duration.