Viewport Transition
fun interface ViewportTransition
Content copied to clipboard
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
run
Link copied to clipboard
abstract fun run(to: ViewportState, completionListener: CompletionListener): Cancelable
Content copied to clipboard
Run the ViewportTransition from current viewport to the target ViewportState.
Inheritors
DefaultViewportTransition
Link copied to clipboard