AnnotationPluginImpl

The impl class for AnnotationPlugin

class AnnotationPluginImpl : AnnotationPlugin

Constructors

AnnotationPluginImpl
Link copied to clipboard
fun AnnotationPluginImpl()

Functions

cleanup
Link copied to clipboard
open override fun cleanup()
createAnnotationManager
Link copied to clipboard

Create an annotation manger instance.

open override fun createAnnotationManager(mapView: View, type: AnnotationType, annotationConfig: AnnotationConfig?): AnnotationManager<*, *, *, *, *, *, *>
equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open override fun hashCode(): Int
initialize
Link copied to clipboard
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)
onStyleChanged
Link copied to clipboard

Called when a new Style is loaded.

open override fun onStyleChanged(styleDelegate: StyleInterface)
removeAnnotationManager
Link copied to clipboard

Removes an annotation manager, this will remove the underlying layer and source from the style. A removed annotation manager will not be able to reuse anymore, users need to create new annotation manger to add annotations.

open override fun removeAnnotationManager(annotationManager: AnnotationManager<*, *, *, *, *, *, *>)
toString
Link copied to clipboard
open override fun toString(): String