MapboxNavigationCameraTransition

class MapboxNavigationCameraTransition(mapboxMap: MapboxMap, cameraPlugin: CameraAnimationsPlugin) : NavigationCameraTransition

Helper class that provides default implementation of NavigationCameraTransition generators.

Constructors

Link copied to clipboard
fun MapboxNavigationCameraTransition(mapboxMap: MapboxMap, cameraPlugin: CameraAnimationsPlugin)

Functions

Link copied to clipboard
open override fun transitionFromHighZoomToLowZoom(cameraOptions: CameraOptions, transitionOptions: NavigationCameraTransitionOptions): AnimatorSet

This transition moves the camera from zoomed in to zoomed out.

Link copied to clipboard
open override fun transitionFromLowZoomToHighZoom(cameraOptions: CameraOptions, transitionOptions: NavigationCameraTransitionOptions): AnimatorSet

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

This transition is for use in frequently animating between points on a map. No animation easing is used.