Annotation Plugin Impl
The impl class for AnnotationPlugin
Constructors
AnnotationPluginImpl
Link copied to clipboard
fun AnnotationPluginImpl()
Content copied to clipboard
Functions
create Annotation Manager
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
on Delegate Provider
Link copied to clipboard
open override fun onDelegateProvider(delegateProvider: MapDelegateProvider)
Content copied to clipboard
Provides all map delegate instances.
on Size Changed
Link copied to clipboard
Invoked when MapView's width and height have changed.
on Style Changed
Link copied to clipboard
Called when a new Style is loaded.
remove Annotation Manager
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.