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, 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
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
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
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
override fun initClusterLayers()
Content copied to clipboard
onSizeChanged
Link copied to clipboard
onStyleLoaded
Link copied to clipboard
queryMapForFeatures
Link copied to clipboard
override fun queryMapForFeatures(point: Point, callback: QueryAnnotationCallback<PolygonAnnotation>)
Content copied to clipboard
override fun queryMapForFeatures(screenCoordinate: ScreenCoordinate, callback: QueryAnnotationCallback<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
removeLongClickListener
Link copied to clipboard
open override fun removeLongClickListener(v: OnPolygonAnnotationLongClickListener): Boolean
Content copied to clipboard
update
Link copied to clipboard
updateSource
Link copied to clipboard
override fun updateSource()
Content 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
draggedAnnotation
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
<p> Whether or not the fill should be antialiased.
fillTranslate
Link copied to clipboard
The FillTranslate property
<p> The geometry's offset. Values are [x, y] where negatives indicate left and up, respectively.
fillTranslateAnchor
Link copied to clipboard
The FillTranslateAnchor property
<p> Controls the frame of reference for {@link PropertyFactory#fillTranslate}.
gesturesPlugin
Link 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
mapClickResolver
Link copied to clipboard
override val mapClickResolver: AnnotationManagerImpl.MapClick<Polygon, PolygonAnnotation, PolygonAnnotationOptions, OnPolygonAnnotationDragListener, OnPolygonAnnotationClickListener, OnPolygonAnnotationLongClickListener, FillLayer>
Content copied to clipboard
mapFeatureQueryDelegate
Link copied to clipboard
mapLongClickResolver
Link copied to clipboard
override val mapLongClickResolver: AnnotationManagerImpl.MapLongClick<Polygon, PolygonAnnotation, PolygonAnnotationOptions, OnPolygonAnnotationDragListener, OnPolygonAnnotationClickListener, OnPolygonAnnotationLongClickListener, FillLayer>
Content copied to clipboard
mapMoveResolver
Link copied to clipboard
override val mapMoveResolver: AnnotationManagerImpl.MapMove<Polygon, PolygonAnnotation, PolygonAnnotationOptions, OnPolygonAnnotationDragListener, OnPolygonAnnotationClickListener, OnPolygonAnnotationLongClickListener, FillLayer>
Content copied to clipboard
mapProjectionDelegate
Link copied to clipboard
styleStateDelegate
Link copied to clipboard