MapboxNavigationCameraTransition
class MapboxNavigationCameraTransition(mapboxMap: MapboxMap, cameraPlugin: CameraAnimationsPlugin) : NavigationCameraTransition
Content copied to clipboard
Helper class that provides default implementation of NavigationCameraTransition generators.
Constructors
Link copied to clipboard
fun MapboxNavigationCameraTransition(mapboxMap: MapboxMap, cameraPlugin: CameraAnimationsPlugin)
Content copied to clipboard
Functions
Link copied to clipboard
open override fun transitionFromHighZoomToLowZoom(cameraOptions: CameraOptions, transitionOptions: NavigationCameraTransitionOptions): AnimatorSet
Content copied to clipboard
This transition moves the camera from zoomed in to zoomed out.
Link copied to clipboard
open override fun transitionFromLowZoomToHighZoom(cameraOptions: CameraOptions, transitionOptions: NavigationCameraTransitionOptions): AnimatorSet
Content copied to clipboard
This transition moves the camera from a zoomed out level to a zoomed in level.
Link copied to clipboard
open override fun transitionLinear(cameraOptions: CameraOptions, transitionOptions: NavigationCameraTransitionOptions): AnimatorSet
Content copied to clipboard
This transition is for use in frequently animating between points on a map. No animation easing is used.