Polygon Annotation Manager
class PolygonAnnotationManager(delegateProvider: MapDelegateProvider, annotationConfig: AnnotationConfig?) : AnnotationManagerImpl<Polygon, PolygonAnnotation, PolygonAnnotationOptions, OnPolygonAnnotationDragListener, OnPolygonAnnotationClickListener, OnPolygonAnnotationLongClickListener, OnPolygonAnnotationInteractionListener, FillLayer>
Content copied to clipboard
The polygonAnnotation manager allows to add polygonAnnotations to a map.
Constructors
PolygonAnnotationManager
Link copied to clipboard
fun PolygonAnnotationManager(delegateProvider: MapDelegateProvider, annotationConfig: AnnotationConfig? = null)
Content copied to clipboard
Types
Functions
addClickListener
Link copied to clipboard
addDragListener
Link copied to clipboard
addInteractionListener
Link copied to clipboard
open fun addInteractionListener(i: OnPolygonAnnotationInteractionListener): Boolean
Content copied to clipboard
addLongClickListener
Link copied to clipboard
open fun addLongClickListener(v: OnPolygonAnnotationLongClickListener): Boolean
Content copied to clipboard
create
Link copied to clipboard
fun create(featureCollection: FeatureCollection): List<PolygonAnnotation>
Content copied to clipboard
open override fun create(option: PolygonAnnotationOptions): PolygonAnnotation
Content copied to clipboard
open override fun create(options: List<PolygonAnnotationOptions>): List<PolygonAnnotation>
Content copied to clipboard
delete
Link copied to clipboard
enableDataDrivenProperty
Link copied to clipboard
getAnnotationIdKey
Link copied to clipboard
onSizeChanged
Link copied to clipboard
queryMapForFeatures
Link copied to clipboard
fun queryMapForFeatures(screenCoordinate: ScreenCoordinate): PolygonAnnotation?
Content copied to clipboard
removeClickListener
Link copied to clipboard
open fun removeClickListener(u: OnPolygonAnnotationClickListener): Boolean
Content copied to clipboard
removeDragListener
Link copied to clipboard
removeInteractionListener
Link copied to clipboard
open fun removeInteractionListener(i: OnPolygonAnnotationInteractionListener): Boolean
Content copied to clipboard
removeLongClickListener
Link copied to clipboard
open fun removeLongClickListener(v: OnPolygonAnnotationLongClickListener): Boolean
Content copied to clipboard
selectAnnotation
Link copied to clipboard
update
Link copied to clipboard
Properties
annotations
Link copied to clipboard
The added annotations
clickListeners
Link copied to clipboard
open override val clickListeners: MutableList<OnPolygonAnnotationClickListener>
Content copied to clipboard
The Added clickListeners
delegateProvider
Link copied to clipboard
The delegateProvider
dragListeners
Link copied to clipboard
open override val dragListeners: MutableList<OnPolygonAnnotationDragListener>
Content copied to clipboard
The added dragListeners
fillAntialias
Link copied to clipboard
The FillAntialias propertyWhether or not the fill should be antialiased.
fillTranslate
Link copied to clipboard
The FillTranslate propertyThe geometry's offset.
fillTranslateAnchor
Link copied to clipboard
The FillTranslateAnchor propertyControls the frame of reference for {@link PropertyFactory#fillTranslate}.
interactionListener
Link copied to clipboard
open override val interactionListener: MutableList<OnPolygonAnnotationInteractionListener>
Content copied to clipboard
The added interactionListener
layerFilter
Link copied to clipboard
The filter on the managed polygonAnnotations.
longClickListeners
Link copied to clipboard
open override val longClickListeners: MutableList<OnPolygonAnnotationLongClickListener>
Content copied to clipboard
The added longClickListeners