Package com.mapbox.maps.plugin.compass

Types

CompassPlugin
Link copied to clipboard

Presenter interface for the Compass.

CompassView
Link copied to clipboard

Interface for compass view.

The compass view implementation class should implement both the CompassView interface and a View class(e.g ImageView).

interface CompassView
CompassViewImpl
Link copied to clipboard

Concrete implementation of CompassView.

open class CompassViewImpl : AppCompatImageView, CompassView
CompassViewPlugin
Link copied to clipboard

Concrete implementation of CompassPlugin.

open class CompassViewPlugin(viewImplProvider: (Context) -> CompassViewImpl, fadeAnimator: ValueAnimator) : CompassSettingsBase, CompassPlugin
OnCompassClickListener
Link copied to clipboard

Listener to get OnClick event on the view.

fun fun interface OnCompassClickListener

Functions

getCompassPlugin
Link copied to clipboard

Extension function for MapView to get the Compass View plugin instance.

fun MapPluginProviderDelegate.getCompassPlugin(): CompassPlugin