ViewportTransition

fun fun interface ViewportTransition

Defines how to transition to another ViewportState.

ViewportTransition is used by ViewportPlugin to orchestrate transitions to and from different ViewportState.

Mapbox provides implementations of ViewportTransition that can be created and configured via methods on ViewportPlugin. Applications may also define their own implementations to handle advanced use cases not covered by the provided implementations.

See also

Functions

equals
Link copied to clipboard
open operator fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open fun hashCode(): Int
run
Link copied to clipboard
abstract fun run(to: ViewportState, completionListener: CompletionListener): Cancelable
Run the ViewportTransition from current viewport to the target ViewportState.
toString
Link copied to clipboard
open fun toString(): String

Inheritors

DefaultViewportTransition
Link copied to clipboard