requestNavigationCameraToFollowing

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

Executes a transition to FOLLOWING state. When started, goes to TRANSITION_TO_FOLLOWING and to the final FOLLOWING when ended.

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 FOLLOWING is engaged. Defaults to NavigationCameraTransitionOptions.maxDuration equal to 1000 millis.

transitionEndListener

invoked when transition ends.


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

Executes a transition to FOLLOWING state. When started, goes to TRANSITION_TO_FOLLOWING and to the final FOLLOWING when ended.

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 FOLLOWING is engaged. Defaults to NavigationCameraTransitionOptions.maxDuration equal to 1000 millis.

transitionEndListener

invoked when transition ends.