CircleAnnotation

Class for CircleAnnotation

class CircleAnnotation(id: Long, annotationManager: AnnotationManager<Point, CircleAnnotation, *, *, *, *, *>, jsonObject: JsonObject, geometry: Point) : Annotation<Point>

Constructors

CircleAnnotation
Link copied to clipboard
fun CircleAnnotation(id: Long, annotationManager: AnnotationManager<Point, CircleAnnotation, *, *, *, *, *>, jsonObject: JsonObject, geometry: Point)

Types

Companion
Link copied to clipboard

Static variables and methods.

object Companion

Functions

equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
getData
Link copied to clipboard
open override fun getData(): JsonElement?
getOffsetGeometry
Link copied to clipboard

Get the offset geometry for the touch point

open override fun getOffsetGeometry(mapCameraManagerDelegate: MapCameraManagerDelegate, moveDistancesObject: MoveDistancesObject, touchAreaShiftX: Int, touchAreaShiftY: Int): Point?
getType
Link copied to clipboard

Get the type of this annotation

open override fun getType(): AnnotationType
hashCode
Link copied to clipboard
open override fun hashCode(): Int
setData
Link copied to clipboard
open override fun setData(jsonElement: JsonElement?)
setUsedDataDrivenProperties
Link copied to clipboard

Set the used data-driven properties

open override fun setUsedDataDrivenProperties()
toString
Link copied to clipboard
open override fun toString(): String

Properties

circleBlur
Link copied to clipboard

The circleBlur property

Amount to blur the circle. 1 blurs the circle such that only the centerpoint is full opacity.

var circleBlur: Double?
circleColorInt
Link copied to clipboard

The circleColor property in Int The fill color of the circle.

var circleColorInt: Int?
circleColorString
Link copied to clipboard

The circleColor property in String

The fill color of the circle.

var circleColorString: String?
circleOpacity
Link copied to clipboard

The circleOpacity property

The opacity at which the circle will be drawn.

var circleOpacity: Double?
circleRadius
Link copied to clipboard

The circleRadius property

Circle radius.

var circleRadius: Double?
circleSortKey
Link copied to clipboard

The circleSortKey property

Sorts features in ascending order based on this value. Features with a higher sort key will appear above features with a lower sort key.

var circleSortKey: Double?
circleStrokeColorInt
Link copied to clipboard

The circleStrokeColor property in Int The stroke color of the circle.

var circleStrokeColorInt: Int?
circleStrokeColorString
Link copied to clipboard

The circleStrokeColor property in String

The stroke color of the circle.

var circleStrokeColorString: String?
circleStrokeOpacity
Link copied to clipboard

The circleStrokeOpacity property

The opacity of the circle's stroke.

var circleStrokeOpacity: Double?
circleStrokeWidth
Link copied to clipboard

The circleStrokeWidth property

The width of the circle's stroke. Strokes are placed outside of the {@link PropertyFactory#circleRadius}.

var circleStrokeWidth: Double?
geometry
Link copied to clipboard
override var geometry: Point
id
Link copied to clipboard
override val id: Long
isDraggable
Link copied to clipboard
override var isDraggable: Boolean
isSelected
Link copied to clipboard
override var isSelected: Boolean
jsonObject
Link copied to clipboard
override val jsonObject: JsonObject
point
Link copied to clipboard

The Point of the circleAnnotation, which represents the location of the circleAnnotation on the map

To update the circleAnnotation on the map use {@link CircleAnnotationManager#update(Annotation)}.

var point: Point