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
clickListeners
Link copied to clipboard
open override val clickListeners: MutableList<OnPolygonAnnotationClickListener>
Content copied to clipboard
delegateProvider
Link copied to clipboard
dragListeners
Link copied to clipboard
open override val dragListeners: MutableList<OnPolygonAnnotationDragListener>
Content copied to clipboard
fillAntialias
Link copied to clipboard
fillTranslate
Link copied to clipboard
fillTranslateAnchor
Link copied to clipboard
interactionListener
Link copied to clipboard
open override val interactionListener: MutableList<OnPolygonAnnotationInteractionListener>
Content copied to clipboard
layerFilter
Link copied to clipboard
longClickListeners
Link copied to clipboard
open override val longClickListeners: MutableList<OnPolygonAnnotationLongClickListener>
Content copied to clipboard