MapboxNavigationCameraTransition

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

Helper class that provides default implementation of NavigationCameraTransition generators.

Constructors

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

Functions

equals
Link copied to clipboard
open operator fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open fun hashCode(): Int
toString
Link copied to clipboard
open fun toString(): String
transitionFromHighZoomToLowZoom
Link copied to clipboard
open override fun transitionFromHighZoomToLowZoom(cameraOptions: CameraOptions, transitionOptions: NavigationCameraTransitionOptions): AnimatorSet
This transition moves the camera from zoomed in to zoomed out.
transitionFromLowZoomToHighZoom
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.
transitionLinear
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.