Annotation
            interface AnnotationPlugin : MapPlugin, MapSizePlugin, MapStyleObserverPlugin
Content copied to clipboard
Plugin interface for the annotation.
Functions
create
                    Link copied to clipboard
                        abstract fun createAnnotationManager(type: AnnotationType, annotationConfig: AnnotationConfig?): AnnotationManager<*, *, *, *, *, *, *>
Content copied to clipboard
Content copied to clipboard
Create an annotation manager.
initialize
                          
                    Link copied to clipboard
                        open fun initialize()
Content copied to clipboard
Called when the plugin is first added to the map.
on
                    Link copied to clipboard
                        Provides all map delegate instances.
on
                    Link copied to clipboard
                        Invoked when MapView's width and height have changed.
on
                    Link copied to clipboard
                        Called when a new Style is loaded.
remove
                    Link copied to clipboard
                        abstract 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.
Inheritors
AnnotationPluginImpl
                          
                    
                  Link copied to clipboard
                        Extensions
create
                    Link copied to clipboard
                        Content copied to clipboard
fun AnnotationPlugin.createCircleAnnotationManager(annotationConfig: AnnotationConfig? = null): CircleAnnotationManager
Content copied to clipboard
Extension function to create a CircleAnnotationManager instance.
create
                    Link copied to clipboard
                        Content copied to clipboard
fun AnnotationPlugin.createPointAnnotationManager(annotationConfig: AnnotationConfig? = null): PointAnnotationManager
Content copied to clipboard
Extension function to create a PointAnnotationManager instance.
create
                    Link copied to clipboard
                        Content copied to clipboard
fun AnnotationPlugin.createPolygonAnnotationManager(annotationConfig: AnnotationConfig? = null): PolygonAnnotationManager
Content copied to clipboard
Extension function to create a PolygonAnnotationManager instance.
create
                    Link copied to clipboard
                        Content copied to clipboard
fun AnnotationPlugin.createPolylineAnnotationManager(annotationConfig: AnnotationConfig? = null): PolylineAnnotationManager
Content copied to clipboard
Extension function to create a PolylineAnnotationManager instance.