MapCameraPlugin

fun interface MapCameraPlugin : MapPlugin

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

Functions

cleanup
Link copied to clipboard
open fun cleanup()

Called when the map is destroyed. Should be used to cleanup plugin resources for that map.

initialize
Link copied to clipboard
open fun initialize()

Called when the plugin is first added to the map.

onCameraMove
Link copied to clipboard
abstract fun onCameraMove(lat: Double, lon: Double, zoom: Double, pitch: Double, bearing: Double, padding: DoubleArray)

Called whenever camera position changes.

onDelegateProvider
Link copied to clipboard
open fun onDelegateProvider(delegateProvider: MapDelegateProvider)

Provides all map delegate instances.

Inheritors

CompassPlugin
Link copied to clipboard
CameraAnimationsPluginImpl
Link copied to clipboard