MapboxNavigationCameraStateTransition
class MapboxNavigationCameraStateTransition(mapboxMap: MapboxMap, cameraPlugin: CameraAnimationsPlugin, navigationCameraTransition: NavigationCameraTransition = MapboxNavigationCameraTransition(mapboxMap, cameraPlugin)) : NavigationCameraStateTransition
Helper class that provides default implementation of NavigationCameraStateTransition generators.
Constructors
Link copied to clipboard
constructor(mapboxMap: MapboxMap, cameraPlugin: CameraAnimationsPlugin, navigationCameraTransition: NavigationCameraTransition = MapboxNavigationCameraTransition(mapboxMap, cameraPlugin))
Functions
Link copied to clipboard
open override fun transitionToFollowing(cameraOptions: CameraOptions, transitionOptions: NavigationCameraTransitionOptions): AnimatorSet
Transition the camera to following state.
Link copied to clipboard
open override fun transitionToOverview(cameraOptions: CameraOptions, transitionOptions: NavigationCameraTransitionOptions): AnimatorSet
Transition the camera to overview state.
Link copied to clipboard
open override fun updateFrameForFollowing(cameraOptions: CameraOptions, transitionOptions: NavigationCameraTransitionOptions): AnimatorSet
Transition that keeps following.
Link copied to clipboard
open override fun updateFrameForOverview(cameraOptions: CameraOptions, transitionOptions: NavigationCameraTransitionOptions): AnimatorSet
Transition that keeps showing overview.