AnnotationPlugin

Plugin interface for the annotation.

fun fun interface AnnotationPlugin : MapPlugin, MapSizePlugin

Functions

cleanup
Link copied to clipboard

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

open override fun cleanup()
equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
getAnnotationManager
Link copied to clipboard

Get an annotation manger

abstract fun getAnnotationManager(type: AnnotationType, belowLayerId: String?, scrollX: Int, scrollY: Int): AnnotationManager<*, *, *, *, *, *>
hashCode
Link copied to clipboard
open override fun hashCode(): Int
initialize
Link copied to clipboard

Called when the plugin is first added to the map.

open override fun initialize()
onDelegateProvider
Link copied to clipboard

Provides all map delegate instances.

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

Invoked when MapView's width and height have changed.

open override fun onSizeChanged(width: Int, height: Int)
toString
Link copied to clipboard
open override fun toString(): String

Inheritors

AnnotationPluginImpl
Link copied to clipboard

Extensions

getCircleManager
Link copied to clipboard

Extension function to get CircleManager instance

fun AnnotationPlugin.getCircleManager(belowLayerId: String?, touchAreaShiftX: Int, touchAreaShiftY: Int): CircleManager
getFillManager
Link copied to clipboard

Extension function to get FillManager instance

fun AnnotationPlugin.getFillManager(belowLayerId: String?, touchAreaShiftX: Int, touchAreaShiftY: Int): FillManager
getLineManager
Link copied to clipboard

Extension function to get LineManager instance

fun AnnotationPlugin.getLineManager(belowLayerId: String?, touchAreaShiftX: Int, touchAreaShiftY: Int): LineManager
getSymbolManager
Link copied to clipboard

Extension function to get SymbolManager instance

fun AnnotationPlugin.getSymbolManager(belowLayerId: String?, touchAreaShiftX: Int, touchAreaShiftY: Int): SymbolManager