Camera Animations Plugin
Interface to interact with Camera Animations plugin
Functions
addCameraAnchorChangeListener
Link copied to clipboard
abstract fun addCameraAnchorChangeListener(listener: CameraAnimatorNullableChangeListener<ScreenCoordinate?>)
Content copied to clipboard
addCameraAnimationsLifecycleListener
Link copied to clipboard
abstract fun addCameraAnimationsLifecycleListener(listener: CameraAnimationsLifecycleListener)
Content copied to clipboard
Add given CameraAnimationsLifecycleListener for capturing all events about animators lifecycle.
addCameraBearingChangeListener
Link copied to clipboard
abstract fun addCameraBearingChangeListener(listener: CameraAnimatorChangeListener<Double>)
Content copied to clipboard
addCameraCenterChangeListener
Link copied to clipboard
abstract fun addCameraCenterChangeListener(listener: CameraAnimatorChangeListener<Point>)
Content copied to clipboard
addCameraPaddingChangeListener
Link copied to clipboard
abstract fun addCameraPaddingChangeListener(listener: CameraAnimatorChangeListener<EdgeInsets>)
Content copied to clipboard
addCameraPitchChangeListener
Link copied to clipboard
abstract fun addCameraPitchChangeListener(listener: CameraAnimatorChangeListener<Double>)
Content copied to clipboard
addCameraZoomChangeListener
Link copied to clipboard
abstract fun addCameraZoomChangeListener(listener: CameraAnimatorChangeListener<Double>)
Content copied to clipboard
calculateScaleBy
Link copied to clipboard
abstract fun calculateScaleBy(amount: Double, currentZoom: Double): Double
Content copied to clipboard
cancelAllAnimators
Link copied to clipboard
abstract fun cancelAllAnimators(exceptOwnerList: List<String> = emptyList())
Content copied to clipboard
Cancel all animators except ones owned by exceptOwnerList list.
createAnchorAnimator
Link copied to clipboard
abstract fun createAnchorAnimator(options: CameraAnimatorOptions<ScreenCoordinate>, block: ValueAnimator.() -> Unit? = null): ValueAnimator
Content copied to clipboard
createBearingAnimator
Link copied to clipboard
abstract fun createBearingAnimator(options: CameraAnimatorOptions<Double>, useShortestPath: Boolean = true, block: ValueAnimator.() -> Unit? = null): ValueAnimator
Content copied to clipboard
createCenterAnimator
Link copied to clipboard
abstract fun createCenterAnimator(options: CameraAnimatorOptions<Point>, block: ValueAnimator.() -> Unit? = null): ValueAnimator
Content copied to clipboard
createPaddingAnimator
Link copied to clipboard
abstract fun createPaddingAnimator(options: CameraAnimatorOptions<EdgeInsets>, block: ValueAnimator.() -> Unit? = null): ValueAnimator
Content copied to clipboard
createPitchAnimator
Link copied to clipboard
abstract fun createPitchAnimator(options: CameraAnimatorOptions<Double>, block: ValueAnimator.() -> Unit? = null): ValueAnimator
Content copied to clipboard
createZoomAnimator
Link copied to clipboard
abstract fun createZoomAnimator(options: CameraAnimatorOptions<Double>, block: ValueAnimator.() -> Unit? = null): ValueAnimator
Content copied to clipboard
easeTo
Link copied to clipboard
abstract fun easeTo(cameraOptions: CameraOptions, animationOptions: MapAnimationOptions? = null): Cancelable
Content copied to clipboard
flyTo
Link copied to clipboard
abstract fun flyTo(cameraOptions: CameraOptions, animationOptions: MapAnimationOptions? = null): Cancelable
Content copied to clipboard
initialize
Link copied to clipboard
moveBy
Link copied to clipboard
abstract fun moveBy(screenCoordinate: ScreenCoordinate, animationOptions: MapAnimationOptions? = null): Cancelable
Content copied to clipboard
onDelegateProvider
Link copied to clipboard
pitchBy
Link copied to clipboard
abstract fun pitchBy(pitch: Double, animationOptions: MapAnimationOptions? = null): Cancelable
Content copied to clipboard
playAnimatorsSequentially
Link copied to clipboard
playAnimatorsTogether
Link copied to clipboard
registerAnimators
Link copied to clipboard
removeCameraAnchorChangeListener
Link copied to clipboard
abstract fun removeCameraAnchorChangeListener(listener: CameraAnimatorNullableChangeListener<ScreenCoordinate?>)
Content copied to clipboard
removeCameraAnimationsLifecycleListener
Link copied to clipboard
abstract fun removeCameraAnimationsLifecycleListener(listener: CameraAnimationsLifecycleListener)
Content copied to clipboard
Remove given CameraAnimationsLifecycleListener for capturing all events about animators lifecycle.
removeCameraBearingChangeListener
Link copied to clipboard
abstract fun removeCameraBearingChangeListener(listener: CameraAnimatorChangeListener<Double>)
Content copied to clipboard
removeCameraCenterChangeListener
Link copied to clipboard
abstract fun removeCameraCenterChangeListener(listener: CameraAnimatorChangeListener<Point>)
Content copied to clipboard
removeCameraPaddingChangeListener
Link copied to clipboard
abstract fun removeCameraPaddingChangeListener(listener: CameraAnimatorChangeListener<EdgeInsets>)
Content copied to clipboard
removeCameraPitchChangeListener
Link copied to clipboard
abstract fun removeCameraPitchChangeListener(listener: CameraAnimatorChangeListener<Double>)
Content copied to clipboard
removeCameraZoomChangeListener
Link copied to clipboard
abstract fun removeCameraZoomChangeListener(listener: CameraAnimatorChangeListener<Double>)
Content copied to clipboard
rotateBy
Link copied to clipboard
abstract fun rotateBy(first: ScreenCoordinate, second: ScreenCoordinate, animationOptions: MapAnimationOptions? = null): Cancelable
Content copied to clipboard
scaleBy
Link copied to clipboard
abstract fun scaleBy(amount: Double, screenCoordinate: ScreenCoordinate?, animationOptions: MapAnimationOptions? = null): Cancelable
Content copied to clipboard
unregisterAnimators
Link copied to clipboard
abstract fun unregisterAnimators(vararg cameraAnimators: ValueAnimator, cancelAnimators: Boolean = true)
Content copied to clipboard
Properties
Inheritors
CameraAnimationsPluginImpl
Link copied to clipboard