CircleAnnotationManager

Constructors

CircleAnnotationManager
Link copied to clipboard
fun CircleAnnotationManager(delegateProvider: MapDelegateProvider, annotationConfig: AnnotationConfig? = null)

Types

Companion
Link copied to clipboard
object Companion
Static variables and methods.

Functions

addClickListener
Link copied to clipboard
open fun addClickListener(u: OnCircleAnnotationClickListener): Boolean
addDragListener
Link copied to clipboard
open fun addDragListener(d: OnCircleAnnotationDragListener): Boolean
addInteractionListener
Link copied to clipboard
open fun addInteractionListener(i: OnCircleAnnotationInteractionListener): Boolean
addLongClickListener
Link copied to clipboard
open fun addLongClickListener(v: OnCircleAnnotationLongClickListener): Boolean
create
Link copied to clipboard
fun create(featureCollection: FeatureCollection): List<CircleAnnotation>
Create a list of circleAnnotations on the map.
fun create(json: String): List<CircleAnnotation>
Create a list of circleAnnotations on the map.
open override fun create(option: CircleAnnotationOptions): CircleAnnotation
Create an annotation with the option
open override fun create(options: List<CircleAnnotationOptions>): List<CircleAnnotation>
Create some annotations with the options
delete
Link copied to clipboard
open override fun delete(annotation: CircleAnnotation)
Delete the annotation
open override fun delete(annotations: List<CircleAnnotation>)
Delete annotations in the list
deleteAll
Link copied to clipboard
open override fun deleteAll()
Delete all the added annotations
enableDataDrivenProperty
Link copied to clipboard
open override fun enableDataDrivenProperty(property: String)
Enable a data-driven property
equals
Link copied to clipboard
open operator fun equals(other: Any?): Boolean
getAnnotationIdKey
Link copied to clipboard
open override fun getAnnotationIdKey(): String
Get the key of the id of the annotation.
hashCode
Link copied to clipboard
open fun hashCode(): Int
onDestroy
Link copied to clipboard
open override fun onDestroy()
Invoked when Mapview or Annotation manager is destroyed.
onSizeChanged
Link copied to clipboard
open override fun onSizeChanged(width: Int, height: Int)
Invoked when MapView's width and height have changed.
queryMapForFeatures
Link copied to clipboard
fun queryMapForFeatures(point: Point): CircleAnnotation?
Query the rendered annotation around the point
fun queryMapForFeatures(screenCoordinate: ScreenCoordinate): CircleAnnotation?
Query the rendered annotation around the point
removeClickListener
Link copied to clipboard
open fun removeClickListener(u: OnCircleAnnotationClickListener): Boolean
removeDragListener
Link copied to clipboard
open fun removeDragListener(d: OnCircleAnnotationDragListener): Boolean
removeInteractionListener
Link copied to clipboard
removeLongClickListener
Link copied to clipboard
open fun removeLongClickListener(v: OnCircleAnnotationLongClickListener): Boolean
selectAnnotation
Link copied to clipboard
open override fun selectAnnotation(annotation: CircleAnnotation)
Toggles the annotation's selection state.
toString
Link copied to clipboard
open fun toString(): String
update
Link copied to clipboard
open override fun update(annotation: CircleAnnotation)
Update the annotation
open override fun update(annotations: List<CircleAnnotation>)
Update annotations in the list

Properties

annotations
Link copied to clipboard
open override val annotations: List<CircleAnnotation>
The added annotations
circlePitchAlignment
Link copied to clipboard
var circlePitchAlignment: CirclePitchAlignment?
The CirclePitchAlignment propertyOrientation of circle when map is pitched.
circlePitchScale
Link copied to clipboard
var circlePitchScale: CirclePitchScale?
The CirclePitchScale propertyControls the scaling behavior of the circle when the map is pitched.
circleTranslate
Link copied to clipboard
var circleTranslate: List<Double>?
The CircleTranslate propertyThe geometry's offset.
circleTranslateAnchor
Link copied to clipboard
var circleTranslateAnchor: CircleTranslateAnchor?
The CircleTranslateAnchor propertyControls the frame of reference for {@link PropertyFactory#circleTranslate}.
clickListeners
Link copied to clipboard
open override val clickListeners: MutableList<OnCircleAnnotationClickListener>
The Added clickListeners
delegateProvider
Link copied to clipboard
override val delegateProvider: MapDelegateProvider
The delegateProvider
dragListeners
Link copied to clipboard
open override val dragListeners: MutableList<OnCircleAnnotationDragListener>
The added dragListeners
interactionListener
Link copied to clipboard
open override val interactionListener: MutableList<OnCircleAnnotationInteractionListener>
The added interactionListener
layerFilter
Link copied to clipboard
open override var layerFilter: Expression?
The filter on the managed circleAnnotations.
longClickListeners
Link copied to clipboard
open override val longClickListeners: MutableList<OnCircleAnnotationLongClickListener>
The added longClickListeners