Polygon Annotation Manager
The polygonAnnotation manager allows to add polygonAnnotations to a map.
class PolygonAnnotationManager(mapView: View, delegateProvider: MapDelegateProvider, annotationConfig: AnnotationConfig?) : AnnotationManagerImpl<Polygon, PolygonAnnotation, PolygonAnnotationOptions, OnPolygonAnnotationDragListener, OnPolygonAnnotationClickListener, OnPolygonAnnotationLongClickListener, OnPolygonAnnotationInteractionListener, FillLayer>
Content copied to clipboard
Constructors
PolygonAnnotationManager
Link copied to clipboard
fun PolygonAnnotationManager(mapView: View, delegateProvider: MapDelegateProvider, annotationConfig: AnnotationConfig?)
Content copied to clipboard
Types
Functions
addAnnotation
Link copied to clipboard
addClickListener
Link copied to clipboard
open override fun addClickListener(u: OnPolygonAnnotationClickListener): Boolean
Content copied to clipboard
addDragListener
Link copied to clipboard
open override fun addDragListener(d: OnPolygonAnnotationDragListener): Boolean
Content copied to clipboard
addInteractionListener
Link copied to clipboard
open override fun addInteractionListener(i: OnPolygonAnnotationInteractionListener): Boolean
Content copied to clipboard
addLongClickListener
Link copied to clipboard
open override 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
createClusterLevelLayer
Link copied to clipboard
override fun createClusterLevelLayer(level: Int, colorLevels: List<Pair<Int, Int>>): CircleLayer
Content copied to clipboard
createClusterTextLayer
Link copied to clipboard
createDragSource
Link copied to clipboard
createSource
Link copied to clipboard
delete
Link copied to clipboard
enableDataDrivenProperty
Link copied to clipboard
equals
Link copied to clipboard
getAnnotationIdKey
Link copied to clipboard
initClusterLayers
Link copied to clipboard
onSizeChanged
Link copied to clipboard
queryMapForFeatures
Link copied to clipboard
override fun queryMapForFeatures(screenCoordinate: ScreenCoordinate): PolygonAnnotation?
Content copied to clipboard
removeClickListener
Link copied to clipboard
open override fun removeClickListener(u: OnPolygonAnnotationClickListener): Boolean
Content copied to clipboard
removeDragListener
Link copied to clipboard
open override fun removeDragListener(d: OnPolygonAnnotationDragListener): Boolean
Content copied to clipboard
removeInteractionListener
Link copied to clipboard
open override fun removeInteractionListener(i: OnPolygonAnnotationInteractionListener): Boolean
Content copied to clipboard
removeLongClickListener
Link copied to clipboard
open override fun removeLongClickListener(v: OnPolygonAnnotationLongClickListener): Boolean
Content copied to clipboard
selectAnnotation
Link copied to clipboard
update
Link copied to clipboard
updateDragSource
Link copied to clipboard
updateSource
Link copied to clipboard
Properties
annotationConfig
Link copied to clipboard
annotationMap
Link copied to clipboard
annotations
Link copied to clipboard
The added annotations
clickListeners
Link copied to clipboard
The Added clickListeners
open override val clickListeners: MutableList<OnPolygonAnnotationClickListener>
Content copied to clipboard
delegateProvider
Link copied to clipboard
The delegateProvider
draggingAnnotation
Link copied to clipboard
dragListeners
Link copied to clipboard
The added dragListeners
open override val dragListeners: MutableList<OnPolygonAnnotationDragListener>
Content copied to clipboard
fillAntialias
Link copied to clipboard
The FillAntialias property
Whether or not the fill should be antialiased.
fillTranslate
Link copied to clipboard
The FillTranslate property
The geometry's offset. Values are x, y where negatives indicate left and up, respectively.
fillTranslateAnchor
Link copied to clipboard
The FillTranslateAnchor property
Controls the frame of reference for {@link PropertyFactory#fillTranslate}.
gesturesPlugin
Link copied to clipboard
interactionListener
Link copied to clipboard
The added interactionListener
open override val interactionListener: MutableList<OnPolygonAnnotationInteractionListener>
Content copied to clipboard
layerFilter
Link copied to clipboard
The filter on the managed polygonAnnotations.
longClickListeners
Link copied to clipboard
The added longClickListeners
open override val longClickListeners: MutableList<OnPolygonAnnotationLongClickListener>
Content copied to clipboard
mapCameraManagerDelegate
Link copied to clipboard
mapClickResolver
Link copied to clipboard
override val mapClickResolver: AnnotationManagerImpl.MapClick<Polygon, PolygonAnnotation, PolygonAnnotationOptions, OnPolygonAnnotationDragListener, OnPolygonAnnotationClickListener, OnPolygonAnnotationLongClickListener, OnPolygonAnnotationInteractionListener, FillLayer>
Content copied to clipboard
mapFeatureQueryDelegate
Link copied to clipboard
mapListenerDelegate
Link copied to clipboard
mapLongClickResolver
Link copied to clipboard
override val mapLongClickResolver: AnnotationManagerImpl.MapLongClick<Polygon, PolygonAnnotation, PolygonAnnotationOptions, OnPolygonAnnotationDragListener, OnPolygonAnnotationClickListener, OnPolygonAnnotationLongClickListener, OnPolygonAnnotationInteractionListener, FillLayer>
Content copied to clipboard
mapMoveResolver
Link copied to clipboard
override val mapMoveResolver: AnnotationManagerImpl.MapMove<Polygon, PolygonAnnotation, PolygonAnnotationOptions, OnPolygonAnnotationDragListener, OnPolygonAnnotationClickListener, OnPolygonAnnotationLongClickListener, OnPolygonAnnotationInteractionListener, FillLayer>
Content copied to clipboard
styleStateDelegate
Link copied to clipboard