AnnotationPluginImpl

class AnnotationPluginImpl : AnnotationPlugin

The impl class for AnnotationPlugin

Constructors

AnnotationPluginImpl
Link copied to clipboard
fun AnnotationPluginImpl()

Functions

cleanup
Link copied to clipboard
open override fun cleanup()
Called when the map is destroyed.
createAnnotationManager
Link copied to clipboard
open override fun createAnnotationManager(type: AnnotationType, annotationConfig: AnnotationConfig?): AnnotationManager<*, *, *, *, *, *, *>
Create an annotation manager.
open override fun createAnnotationManager(mapView: View, type: AnnotationType, annotationConfig: AnnotationConfig?): AnnotationManager<*, *, *, *, *, *, *>
Create an annotation manager.
initialize
Link copied to clipboard
open fun initialize()
onDelegateProvider
Link copied to clipboard
open override fun onDelegateProvider(delegateProvider: MapDelegateProvider)
Provides all map delegate instances.
onSizeChanged
Link copied to clipboard
open override fun onSizeChanged(width: Int, height: Int)
Invoked when MapView's width and height have changed.
onStyleChanged
Link copied to clipboard
open override fun onStyleChanged(styleDelegate: StyleInterface)
Called when a new Style is loaded.
removeAnnotationManager
Link copied to clipboard
open override fun removeAnnotationManager(annotationManager: AnnotationManager<*, *, *, *, *, *, *>)
Removes an annotation manager, this will remove the underlying layer and source from the style.