MapListenerDelegate

interface MapListenerDelegate

Definition of a listener manager delegate to manage all kinds of listeners.

Functions

addOnCameraChangeListener
Link copied to clipboard
abstract fun addOnCameraChangeListener(onCameraChangeListener: OnCameraChangeListener)
Add a listener that's going to be invoked whenever map camera changes.
addOnMapIdleListener
Link copied to clipboard
abstract fun addOnMapIdleListener(onMapIdleListener: OnMapIdleListener)
Add a listener that's going to be invoked whenever map has entered the idle state.
addOnMapLoadedListener
Link copied to clipboard
abstract fun addOnMapLoadedListener(onMapLoadedListener: OnMapLoadedListener)
Add a listener that's going to be invoked whenever the Map's style has been fully loaded, and the Map has rendered all visible tiles.
addOnMapLoadErrorListener
Link copied to clipboard
abstract fun addOnMapLoadErrorListener(onMapLoadErrorListener: OnMapLoadErrorListener)
Add a listener that's going to be invoked whenever there's a map load error.
addOnRenderFrameFinishedListener
Link copied to clipboard
abstract fun addOnRenderFrameFinishedListener(onRenderFrameFinishedListener: OnRenderFrameFinishedListener)
Add a listener that's going to be invoked whenever the Map finished rendering a frame.
addOnRenderFrameStartedListener
Link copied to clipboard
abstract fun addOnRenderFrameStartedListener(onRenderFrameStartedListener: OnRenderFrameStartedListener)
Add a listener that's going to be invoked whenever the Map started rendering a frame.
addOnSourceAddedListener
Link copied to clipboard
abstract fun addOnSourceAddedListener(onSourceAddedListener: OnSourceAddedListener)
Add a listener that's going to be invoked whenever a source has been added with StyleManager#addStyleSource runtime API.
addOnSourceDataLoadedListener
Link copied to clipboard
abstract fun addOnSourceDataLoadedListener(onSourceDataLoadedListener: OnSourceDataLoadedListener)
Add a listener that's going to be invoked whenever the source data has been loaded.
addOnSourceRemovedListener
Link copied to clipboard
abstract fun addOnSourceRemovedListener(onSourceRemovedListener: OnSourceRemovedListener)
Add a listener that's going to be invoked whenever a source has been removed with StyleManager#removeStyleSource runtime API.
addOnStyleDataLoadedListener
Link copied to clipboard
abstract fun addOnStyleDataLoadedListener(onStyleDataLoadedListener: OnStyleDataLoadedListener)
Add a listener that's going to be invoked whenever the requested style data been loaded.
addOnStyleImageMissingListener
Link copied to clipboard
abstract fun addOnStyleImageMissingListener(onStyleImageMissingListener: OnStyleImageMissingListener)
Add a listener that's going to be invoked whenever a style has a missing image.
addOnStyleImageUnusedListener
Link copied to clipboard
abstract fun addOnStyleImageUnusedListener(onStyleImageUnusedListener: OnStyleImageUnusedListener)
Add a listener that's going to be invoked whenever an image added to the Style is no longer needed and can be removed using StyleManager#removeStyleImage method.
addOnStyleLoadedListener
Link copied to clipboard
abstract fun addOnStyleLoadedListener(onStyleLoadedListener: OnStyleLoadedListener)
Add a listener that's going to be invoked whenever the requested style has been fully loaded, including the style specified sprite and sources.
equals
Link copied to clipboard
open operator fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open fun hashCode(): Int
removeOnCameraChangeListener
Link copied to clipboard
abstract fun removeOnCameraChangeListener(onCameraChangeListener: OnCameraChangeListener)
Remove the camera change listener.
removeOnMapIdleListener
Link copied to clipboard
abstract fun removeOnMapIdleListener(onMapIdleListener: OnMapIdleListener)
Remove the map idle listener.
removeOnMapLoadedListener
Link copied to clipboard
abstract fun removeOnMapLoadedListener(onMapLoadedListener: OnMapLoadedListener)
Remove the map loaded listener.
removeOnMapLoadErrorListener
Link copied to clipboard
abstract fun removeOnMapLoadErrorListener(onMapLoadErrorListener: OnMapLoadErrorListener)
Remove the map error listener.
removeOnRenderFrameFinishedListener
Link copied to clipboard
abstract fun removeOnRenderFrameFinishedListener(onRenderFrameFinishedListener: OnRenderFrameFinishedListener)
Remove the render frame finished listener.
removeOnRenderFrameStartedListener
Link copied to clipboard
abstract fun removeOnRenderFrameStartedListener(onRenderFrameStartedListener: OnRenderFrameStartedListener)
Remove the render frame started listener.
removeOnSourceAddedListener
Link copied to clipboard
abstract fun removeOnSourceAddedListener(onSourceAddedListener: OnSourceAddedListener)
Remove the source added listener.
removeOnSourceDataLoadedListener
Link copied to clipboard
abstract fun removeOnSourceDataLoadedListener(onSourceDataLoadedListener: OnSourceDataLoadedListener)
Remove the source data loaded listener.
removeOnSourceRemovedListener
Link copied to clipboard
abstract fun removeOnSourceRemovedListener(onSourceRemovedListener: OnSourceRemovedListener)
Remove the source removed listener.
removeOnStyleDataLoadedListener
Link copied to clipboard
abstract fun removeOnStyleDataLoadedListener(onStyleDataLoadedListener: OnStyleDataLoadedListener)
Remove the style data loaded listener
removeOnStyleImageMissingListener
Link copied to clipboard
abstract fun removeOnStyleImageMissingListener(onStyleImageMissingListener: OnStyleImageMissingListener)
Remove the style image missing listener.
removeOnStyleImageUnusedListener
Link copied to clipboard
abstract fun removeOnStyleImageUnusedListener(onStyleImageUnusedListener: OnStyleImageUnusedListener)
Remove the style image unused listener.
removeOnStyleLoadedListener
Link copied to clipboard
abstract fun removeOnStyleLoadedListener(onStyleLoadedListener: OnStyleLoadedListener)
Remove the style loaded listener.
toString
Link copied to clipboard
open fun toString(): String

Inheritors

MapboxMap
Link copied to clipboard