AnnotationPluginImpl
The impl class for AnnotationPlugin
Constructors
Functions
createAnnotationManager
Link copied to clipboard
open override fun createAnnotationManager(type: AnnotationType, annotationConfig: AnnotationConfig?): AnnotationManager<*, *, *, *, *, *, *>
Content copied to clipboard
open override fun createAnnotationManager(mapView: View, type: AnnotationType, annotationConfig: AnnotationConfig?): AnnotationManager<*, *, *, *, *, *, *>
Content copied to clipboard
Create an annotation manager.
initialize
Link copied to clipboard
open fun initialize()
Content copied to clipboard
onDelegateProvider
Link copied to clipboard
open override fun onDelegateProvider(delegateProvider: MapDelegateProvider)
Content copied to clipboard
Provides all map delegate instances.
onSizeChanged
Link copied to clipboard
Invoked when MapView's width and height have changed.
onStyleChanged
Link copied to clipboard
Called when a new Style is loaded.
removeAnnotationManager
Link copied to clipboard
open override fun removeAnnotationManager(annotationManager: AnnotationManager<*, *, *, *, *, *, *>)
Content 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 manager to add annotations.