MapPluginExtensionsDelegate

interface MapPluginExtensionsDelegate

Definition of the map plugin extensions delegate. Makes possible to call plugin functions directly from MapboxMap.

Functions

cameraAnimationsPlugin
Link copied to clipboard
abstract fun cameraAnimationsPlugin(function: CameraAnimationsPlugin.() -> Any?): Any?
Call extension function on CameraAnimationsPlugin.
equals
Link copied to clipboard
open operator fun equals(other: Any?): Boolean
gesturesPlugin
Link copied to clipboard
abstract fun gesturesPlugin(function: GesturesPlugin.() -> Any?): Any?
Call extension function on GesturesPlugin.
hashCode
Link copied to clipboard
open fun hashCode(): Int
toString
Link copied to clipboard
open fun toString(): String

Inheritors

MapboxMap
Link copied to clipboard

Extensions

addOnFlingListener
Link copied to clipboard
fun MapPluginExtensionsDelegate.addOnFlingListener(onFlingListener: OnFlingListener)
Add a callback that is invoked when the map is has received a fling gesture.
addOnMapClickListener
Link copied to clipboard
fun MapPluginExtensionsDelegate.addOnMapClickListener(onMapClickListener: OnMapClickListener)
Add a callback that is invoked when the map is clicked.
addOnMapLongClickListener
Link copied to clipboard
fun MapPluginExtensionsDelegate.addOnMapLongClickListener(onMapLongClickListener: OnMapLongClickListener)
Add a callback that is invoked when the map is long clicked.
addOnMoveListener
Link copied to clipboard
fun MapPluginExtensionsDelegate.addOnMoveListener(listener: OnMoveListener)
Add a callback that is invoked when the map is moved.
addOnRotateListener
Link copied to clipboard
fun MapPluginExtensionsDelegate.addOnRotateListener(listener: OnRotateListener)
Add a callback that is invoked when the map is rotated.
addOnScaleListener
Link copied to clipboard
fun MapPluginExtensionsDelegate.addOnScaleListener(listener: OnScaleListener)
Add a callback that is invoked when the map is scaled.
addOnShoveListener
Link copied to clipboard
fun MapPluginExtensionsDelegate.addOnShoveListener(listener: OnShoveListener)
Add a callback that is invoked when the map is shoved.
easeTo
Link copied to clipboard
fun MapPluginExtensionsDelegate.easeTo(cameraOptions: CameraOptions, animationOptions: MapAnimationOptions? = null): Cancelable
Extension easeTo() for MapPluginExtensionsDelegate Ease the map camera to a given camera options and animation optionsCamera plugin with id = Plugin.MAPBOX_CAMERA_PLUGIN_ID must be added while constructing com.mapbox.maps.
flyTo
Link copied to clipboard
fun MapPluginExtensionsDelegate.flyTo(cameraOptions: CameraOptions, animationOptions: MapAnimationOptions? = null): Cancelable
Extension flyTo() function for MapPluginExtensionsDelegate Fly the map camera to a given camera options.
getGesturesManager
Link copied to clipboard
fun MapPluginExtensionsDelegate.getGesturesManager(): AndroidGesturesManager?
Get the current configured AndroidGesturesManager.
getGesturesSettings
Link copied to clipboard
Get copy of current gesture settings.
moveBy
Link copied to clipboard
fun MapPluginExtensionsDelegate.moveBy(screenCoordinate: ScreenCoordinate, animationOptions: MapAnimationOptions? = null): Cancelable
Extension moveBy() function for MapPluginExtensionsDelegate Move the map by a given screen coordinate with optional animation.
pitchBy
Link copied to clipboard
fun MapPluginExtensionsDelegate.pitchBy(pitch: Double, animationOptions: MapAnimationOptions? = null): Cancelable
Extension pitchBy() function for MapPluginExtensionsDelegate Pitch the map by with optional animation.
removeOnFlingListener
Link copied to clipboard
fun MapPluginExtensionsDelegate.removeOnFlingListener(onFlingListener: OnFlingListener)
Remove a callback that is invoked when the map is has received a fling gesture.
removeOnMapClickListener
Link copied to clipboard
fun MapPluginExtensionsDelegate.removeOnMapClickListener(onMapClickListener: OnMapClickListener)
Remove a callback that is invoked when the map is clicked.
removeOnMapLongClickListener
Link copied to clipboard
fun MapPluginExtensionsDelegate.removeOnMapLongClickListener(onMapLongClickListener: OnMapLongClickListener)
Remove a callback that is invoked when the map is long clicked.
removeOnMoveListener
Link copied to clipboard
fun MapPluginExtensionsDelegate.removeOnMoveListener(listener: OnMoveListener)
Remove a callback that is invoked when the map is moved.
removeOnRotateListener
Link copied to clipboard
fun MapPluginExtensionsDelegate.removeOnRotateListener(listener: OnRotateListener)
Remove a callback that is invoked when the map is rotated.
removeOnScaleListener
Link copied to clipboard
fun MapPluginExtensionsDelegate.removeOnScaleListener(listener: OnScaleListener)
Remove a callback that is invoked when the map is scaled.
removeOnShoveListener
Link copied to clipboard
fun MapPluginExtensionsDelegate.removeOnShoveListener(listener: OnShoveListener)
Remove a callback that is invoked when the map is shoved.
rotateBy
Link copied to clipboard
fun MapPluginExtensionsDelegate.rotateBy(first: ScreenCoordinate, second: ScreenCoordinate, animationOptions: MapAnimationOptions? = null): Cancelable
Extension rotateBy() function for MapPluginExtensionsDelegate Rotate the map by with optional animation.
scaleBy
Link copied to clipboard
fun MapPluginExtensionsDelegate.scaleBy(amount: Double, screenCoordinate: ScreenCoordinate?, animationOptions: MapAnimationOptions? = null): Cancelable
Extension scaleBy() function for MapPluginExtensionsDelegate Scale the map by with optional animation.
setGesturesManager
Link copied to clipboard
fun MapPluginExtensionsDelegate.setGesturesManager(androidGesturesManager: AndroidGesturesManager, attachDefaultListeners: Boolean, setDefaultMutuallyExclusives: Boolean)
Set the AndroidGesturesManager instance.