Package com.mapbox.maps.plugin

Types

ContextBinder
Link copied to clipboard
fun interface ContextBinder

Interface to bind a View and underlying context

InvalidPluginConfigurationException
Link copied to clipboard
class InvalidPluginConfigurationException(exceptionMessage: String) : Exception

Exception thrown when a plugin configuration is invalid.

InvalidViewPluginHostException
Link copied to clipboard
class InvalidViewPluginHostException(message: String) : Exception

Exception thrown when a ViewPlugin is loaded in a context that doesn't have a view hierarchy associated.

LifecyclePlugin
Link copied to clipboard
interface LifecyclePlugin

Interface for plugins interacting with the lifecycle of the hosting context.

LocationPuck
Link copied to clipboard
sealed class LocationPuck

Sealed class representing a location-puck.

LocationPuck2D
Link copied to clipboard
data class LocationPuck2D @JvmOverloads constructor(topImage: Drawable?, bearingImage: Drawable?, shadowImage: Drawable?, scaleExpression: String?) : LocationPuck

Definition of a location_puck_2_d.

LocationPuck3D
Link copied to clipboard
data class LocationPuck3D @JvmOverloads constructor(modelUri: String, position: List<Float>, modelOpacity: Float, modelScale: List<Float>, modelScaleExpression: String?, modelTranslation: List<Float>, modelRotation: List<Float>) : LocationPuck

Definition of a location_puck_3_d.

MapCameraPlugin
Link copied to clipboard
fun interface MapCameraPlugin : MapPlugin

Definition for map camera plugins. The map will constantly push current camera position values.

MapPlugin
Link copied to clipboard
interface MapPlugin

Parent definition of all Map plugins.

MapSizePlugin
Link copied to clipboard
interface MapSizePlugin

Plugin interface invoked when the size of map changes.

MapStyleObserverPlugin
Link copied to clipboard
interface MapStyleObserverPlugin

Interface for plugins need to be aware of the style change event.

Plugin
Link copied to clipboard
sealed class Plugin

Class describing plugin instance.

PuckBearingSource
Link copied to clipboard
enum PuckBearingSource : Enum<PuckBearingSource>

The enum controls how the puck is oriented

ScrollMode
Link copied to clipboard
enum ScrollMode : Enum<ScrollMode>

Configures the directions in which the map is allowed to move during a scroll gesture.

ViewPlugin
Link copied to clipboard
fun interface ViewPlugin : MapPlugin

Defines interface of a ViewPlugin.