MapPluginExtensionsDelegate

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

interface MapPluginExtensionsDelegate

Functions

cameraAnimationsPlugin
Link copied to clipboard

Call extension function on CameraAnimationsPlugin. In most cases should not be called directly.

abstract fun cameraAnimationsPlugin(function: CameraAnimationsPlugin.() -> Any?): Any?
equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
gesturesPlugin
Link copied to clipboard

Call extension function on GesturesPlugin. In most cases should not be called directly.

abstract fun gesturesPlugin(function: GesturesPlugin.() -> Any?): Any?
hashCode
Link copied to clipboard
open override fun hashCode(): Int
toString
Link copied to clipboard
open override fun toString(): String

Inheritors

MapboxMap
Link copied to clipboard

Extensions

addOnFlingListener
Link copied to clipboard

Add a callback that is invoked when the map is has received a fling gesture.

fun MapPluginExtensionsDelegate.addOnFlingListener(onFlingListener: OnFlingListener)
addOnMapClickListener
Link copied to clipboard

Add a callback that is invoked when the map is clicked.

fun MapPluginExtensionsDelegate.addOnMapClickListener(onMapClickListener: OnMapClickListener)
addOnMapLongClickListener
Link copied to clipboard

Add a callback that is invoked when the map is long clicked.

fun MapPluginExtensionsDelegate.addOnMapLongClickListener(onMapLongClickListener: OnMapLongClickListener)
addOnMoveListener
Link copied to clipboard

Add a callback that is invoked when the map is moved.

fun MapPluginExtensionsDelegate.addOnMoveListener(listener: OnMoveListener)
addOnRotateListener
Link copied to clipboard

Add a callback that is invoked when the map is rotated.

fun MapPluginExtensionsDelegate.addOnRotateListener(listener: OnRotateListener)
addOnScaleListener
Link copied to clipboard

Add a callback that is invoked when the map is scaled.

fun MapPluginExtensionsDelegate.addOnScaleListener(listener: OnScaleListener)
addOnShoveListener
Link copied to clipboard

Add a callback that is invoked when the map is shoved.

fun MapPluginExtensionsDelegate.addOnShoveListener(listener: OnShoveListener)
easeTo
Link copied to clipboard

Extension easeTo() for MapPluginExtensionsDelegate Ease the map camera to a given camera options and animation options.

fun MapPluginExtensionsDelegate.easeTo(cameraOptions: CameraOptions, animationOptions: MapAnimationOptions?): Any?
flyTo
Link copied to clipboard

Extension flyTo() function for MapPluginExtensionsDelegate Fly the map camera to a given camera options.

fun MapPluginExtensionsDelegate.flyTo(cameraOptions: CameraOptions, animationOptions: MapAnimationOptions?): Any?
getGesturesManager
Link copied to clipboard

Get the current configured AndroidGesturesManager.

fun MapPluginExtensionsDelegate.getGesturesManager(): AndroidGesturesManager?
getGesturesSettings
Link copied to clipboard

The gesture configuration object.

moveBy
Link copied to clipboard

Extension moveBy() function for MapPluginExtensionsDelegate Move the map by a given screen coordinate with optional animation.

fun MapPluginExtensionsDelegate.moveBy(screenCoordinate: ScreenCoordinate, animationOptions: MapAnimationOptions?): Any?
pitchBy
Link copied to clipboard

Extension pitchBy() function for MapPluginExtensionsDelegate Pitch the map by with optional animation.

fun MapPluginExtensionsDelegate.pitchBy(pitch: Double, animationOptions: MapAnimationOptions?): Any?
removeOnFlingListener
Link copied to clipboard

Remove a callback that is invoked when the map is has received a fling gesture.

fun MapPluginExtensionsDelegate.removeOnFlingListener(onFlingListener: OnFlingListener)
removeOnMapClickListener
Link copied to clipboard

Remove a callback that is invoked when the map is clicked.

fun MapPluginExtensionsDelegate.removeOnMapClickListener(onMapClickListener: OnMapClickListener)
removeOnMapLongClickListener
Link copied to clipboard

Remove a callback that is invoked when the map is long clicked.

fun MapPluginExtensionsDelegate.removeOnMapLongClickListener(onMapLongClickListener: OnMapLongClickListener)
removeOnMoveListener
Link copied to clipboard

Remove a callback that is invoked when the map is moved.

fun MapPluginExtensionsDelegate.removeOnMoveListener(listener: OnMoveListener)
removeOnRotateListener
Link copied to clipboard

Remove a callback that is invoked when the map is rotated.

fun MapPluginExtensionsDelegate.removeOnRotateListener(listener: OnRotateListener)
removeOnScaleListener
Link copied to clipboard

Remove a callback that is invoked when the map is scaled.

fun MapPluginExtensionsDelegate.removeOnScaleListener(listener: OnScaleListener)
removeOnShoveListener
Link copied to clipboard

Remove a callback that is invoked when the map is shoved.

fun MapPluginExtensionsDelegate.removeOnShoveListener(listener: OnShoveListener)
rotateBy
Link copied to clipboard

Extension rotateBy() function for MapPluginExtensionsDelegate Rotate the map by with optional animation.

fun MapPluginExtensionsDelegate.rotateBy(first: ScreenCoordinate, second: ScreenCoordinate, animationOptions: MapAnimationOptions?): Any?
scaleBy
Link copied to clipboard

Extension scaleBy() function for MapPluginExtensionsDelegate Scale the map by with optional animation.

fun MapPluginExtensionsDelegate.scaleBy(amount: Double, screenCoordinate: ScreenCoordinate?, animationOptions: MapAnimationOptions?): Any?
setGesturesManager
Link copied to clipboard

Set the AndroidGesturesManager instance.

fun MapPluginExtensionsDelegate.setGesturesManager(androidGesturesManager: AndroidGesturesManager, attachDefaultListeners: Boolean, setDefaultMutuallyExclusives: Boolean)