Point Annotation Manager
class PointAnnotationManager(delegateProvider: MapDelegateProvider, annotationConfig: AnnotationConfig?) : AnnotationManagerImpl<Point, PointAnnotation, PointAnnotationOptions, OnPointAnnotationDragListener, OnPointAnnotationClickListener, OnPointAnnotationLongClickListener, OnPointAnnotationInteractionListener, SymbolLayer>
Content copied to clipboard
The pointAnnotation manager allows to add pointAnnotations to a map.
Constructors
PointAnnotationManager
Link copied to clipboard
fun PointAnnotationManager(delegateProvider: MapDelegateProvider, annotationConfig: AnnotationConfig? = null)
Content copied to clipboard
Functions
add Click Listener
Link copied to clipboard
add Drag Listener
Link copied to clipboard
add Interaction Listener
Link copied to clipboard
open fun addInteractionListener(i: OnPointAnnotationInteractionListener): Boolean
Content copied to clipboard
add Long Click Listener
Link copied to clipboard
open fun addLongClickListener(v: OnPointAnnotationLongClickListener): Boolean
Content copied to clipboard
create
Link copied to clipboard
Create a list of pointAnnotations on the map.
open override fun create(option: PointAnnotationOptions): PointAnnotation
Content copied to clipboard
Create an annotation with the option
open override fun create(options: List<PointAnnotationOptions>): List<PointAnnotation>
Content copied to clipboard
Create some annotations with the options
delete
Link copied to clipboard
Delete the annotation
Delete annotations in the list
enable Data Driven Property
Link copied to clipboard
Enable a data-driven property
get Annotation Id Key
Link copied to clipboard
Get the key of the id of the annotation.
on Size Changed
Link copied to clipboard
Invoked when MapView's width and height have changed.
query Map For Features
Link copied to clipboard
fun queryMapForFeatures(screenCoordinate: ScreenCoordinate): PointAnnotation?
Content copied to clipboard
Query the rendered annotation around the point
remove Click Listener
Link copied to clipboard
remove Drag Listener
Link copied to clipboard
remove Interaction Listener
Link copied to clipboard
open fun removeInteractionListener(i: OnPointAnnotationInteractionListener): Boolean
Content copied to clipboard
remove Long Click Listener
Link copied to clipboard
open fun removeLongClickListener(v: OnPointAnnotationLongClickListener): Boolean
Content copied to clipboard
select Annotation
Link copied to clipboard
Toggles the annotation's selection state. If the annotation is deselected, it becomes selected. If the annotation is selected, it becomes deselected.
update
Link copied to clipboard
Update the annotation
Update annotations in the list
Properties
annotations
Link copied to clipboard
clickListeners
Link copied to clipboard
open override val clickListeners: MutableList<OnPointAnnotationClickListener>
Content copied to clipboard
delegateProvider
Link copied to clipboard
dragListeners
Link copied to clipboard
open override val dragListeners: MutableList<OnPointAnnotationDragListener>
Content copied to clipboard
iconAllowOverlap
Link copied to clipboard
iconIgnorePlacement
Link copied to clipboard
iconKeepUpright
Link copied to clipboard
iconOptional
Link copied to clipboard
iconPadding
Link copied to clipboard
iconPitchAlignment
Link copied to clipboard
iconRotationAlignment
Link copied to clipboard
iconTextFit
Link copied to clipboard
iconTextFitPadding
Link copied to clipboard
iconTranslate
Link copied to clipboard
iconTranslateAnchor
Link copied to clipboard
interactionListener
Link copied to clipboard
open override val interactionListener: MutableList<OnPointAnnotationInteractionListener>
Content copied to clipboard
layerFilter
Link copied to clipboard
longClickListeners
Link copied to clipboard
open override val longClickListeners: MutableList<OnPointAnnotationLongClickListener>
Content copied to clipboard
symbolAvoidEdges
Link copied to clipboard
symbolPlacement
Link copied to clipboard
symbolSpacing
Link copied to clipboard
symbolZOrder
Link copied to clipboard
textAllowOverlap
Link copied to clipboard
textIgnorePlacement
Link copied to clipboard
textKeepUpright
Link copied to clipboard
textLineHeight
Link copied to clipboard
textMaxAngle
Link copied to clipboard
textOptional
Link copied to clipboard
textPadding
Link copied to clipboard
textPitchAlignment
Link copied to clipboard
textRotationAlignment
Link copied to clipboard
textTranslate
Link copied to clipboard
textTranslateAnchor
Link copied to clipboard
textVariableAnchor
Link copied to clipboard
textWritingMode
Link copied to clipboard