requestNavigationCameraToOverview

fun requestNavigationCameraToOverview(stateTransitionOptionsBlock: NavigationCameraTransitionOptions.Builder.() -> Unit, frameTransitionOptionsBlock: NavigationCameraTransitionOptions.Builder.() -> Unit, transitionEndListener: TransitionEndListener? = null)

Executes a transition to OVERVIEW state. When started, goes to TRANSITION_TO_OVERVIEW and to the final OVERVIEW when ended. If transition is canceled, state goes to IDLE.

The target camera position is obtained with ViewportDataSource.getViewportData.

Parameters

stateTransitionOptionsBlock

options that impact the transition animation from the current state to the requested state. Defaults to NavigationCameraTransitionOptions.maxDuration equal to 3500 millis.

frameTransitionOptionsBlock

options that impact the transition animations between viewport frames in the selected state. This refers to camera transition on each ViewportDataSource update when OVERVIEW is engaged. Defaults to NavigationCameraTransitionOptions.maxDuration equal to 1000 millis.

transitionEndListener

invoked when transition ends.

fun requestNavigationCameraToOverview(stateTransitionOptions: NavigationCameraTransitionOptions = DEFAULT_STATE_TRANSITION_OPT, frameTransitionOptions: NavigationCameraTransitionOptions = DEFAULT_FRAME_TRANSITION_OPT, transitionEndListener: TransitionEndListener? = null)

Executes a transition to OVERVIEW state. When started, goes to TRANSITION_TO_OVERVIEW and to the final OVERVIEW when ended. If transition is canceled, state goes to IDLE.

The target camera position is obtained with ViewportDataSource.getViewportData.

Parameters

stateTransitionOptions

options that impact the transition animation from the current state to the requested state. Defaults to NavigationCameraTransitionOptions.maxDuration equal to 3500 millis.

frameTransitionOptions

options that impact the transition animations between viewport frames in the selected state. This refers to camera transition on each ViewportDataSource update when OVERVIEW is engaged. Defaults to NavigationCameraTransitionOptions.maxDuration equal to 1000 millis.

transitionEndListener

invoked when transition ends.