PointAnnotation

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

Class for PointAnnotation

Constructors

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

Types

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

Functions

getData
Link copied to clipboard
open fun getData(): JsonElement?
getJsonObjectCopy
Link copied to clipboard
fun getJsonObjectCopy(): JsonObject
getOffsetGeometry
Link copied to clipboard
open override fun getOffsetGeometry(mapCameraManagerDelegate: MapCameraManagerDelegate, moveDistancesObject: MoveDistancesObject): Point?
Get the offset geometry for the touch point
getType
Link copied to clipboard
open override fun getType(): AnnotationType
Get the type of this annotation
setData
Link copied to clipboard
open fun setData(jsonElement: JsonElement?)
setUsedDataDrivenProperties
Link copied to clipboard
open override fun setUsedDataDrivenProperties()
Set the used data-driven properties

Properties

geometry
Link copied to clipboard
var geometry: Point
iconAnchor
Link copied to clipboard
var iconAnchor: IconAnchor?
The iconAnchor propertyPart of the icon placed closest to the anchor.
iconColorInt
Link copied to clipboard
var iconColorInt: Int?
The iconColor property in Int The color of the icon.
iconColorString
Link copied to clipboard
var iconColorString: String?
The iconColor property in StringThe color of the icon.
iconHaloBlur
Link copied to clipboard
var iconHaloBlur: Double?
The iconHaloBlur propertyFade out the halo towards the outside.
iconHaloColorInt
Link copied to clipboard
var iconHaloColorInt: Int?
The iconHaloColor property in Int The color of the icon's halo.
iconHaloColorString
Link copied to clipboard
var iconHaloColorString: String?
The iconHaloColor property in StringThe color of the icon's halo.
iconHaloWidth
Link copied to clipboard
var iconHaloWidth: Double?
The iconHaloWidth propertyDistance of halo to the icon outline.
iconImage
Link copied to clipboard
var iconImage: String?
The iconImage propertyName of image in sprite to use for drawing an image background.
iconImageBitmap
Link copied to clipboard
var iconImageBitmap: Bitmap? = null
The bitmap image for this SymbolWill not take effect if iconImage has been set.
iconOffset
Link copied to clipboard
var iconOffset: List<Double>?
The iconOffset propertyOffset distance of icon from its anchor.
iconOpacity
Link copied to clipboard
var iconOpacity: Double?
The iconOpacity propertyThe opacity at which the icon will be drawn.
iconRotate
Link copied to clipboard
var iconRotate: Double?
The iconRotate propertyRotates the icon clockwise.
iconSize
Link copied to clipboard
var iconSize: Double?
The iconSize propertyScales the original size of the icon by the provided factor.
id
Link copied to clipboard
val id: Long
isDraggable
Link copied to clipboard
var isDraggable: Boolean
isSelected
Link copied to clipboard
var isSelected: Boolean
point
Link copied to clipboard
var point: Point
The Point of the pointAnnotation, which represents the location of the pointAnnotation on the mapTo update the pointAnnotation on the map use {@link PointAnnotationManager#update(Annotation)}.
symbolSortKey
Link copied to clipboard
var symbolSortKey: Double?
The symbolSortKey propertySorts features in ascending order based on this value.
textAnchor
Link copied to clipboard
var textAnchor: TextAnchor?
The textAnchor propertyPart of the text placed closest to the anchor.
textColorInt
Link copied to clipboard
var textColorInt: Int?
The textColor property in Int The color with which the text will be drawn.
textColorString
Link copied to clipboard
var textColorString: String?
The textColor property in StringThe color with which the text will be drawn.
textField
Link copied to clipboard
var textField: String?
The textField propertyValue to use for a text label.
textHaloBlur
Link copied to clipboard
var textHaloBlur: Double?
The textHaloBlur propertyThe halo's fadeout distance towards the outside.
textHaloColorInt
Link copied to clipboard
var textHaloColorInt: Int?
The textHaloColor property in Int The color of the text's halo, which helps it stand out from backgrounds.
textHaloColorString
Link copied to clipboard
var textHaloColorString: String?
The textHaloColor property in StringThe color of the text's halo, which helps it stand out from backgrounds.
textHaloWidth
Link copied to clipboard
var textHaloWidth: Double?
The textHaloWidth propertyDistance of halo to the font outline.
textJustify
Link copied to clipboard
var textJustify: TextJustify?
The textJustify propertyText justification options.
textLetterSpacing
Link copied to clipboard
var textLetterSpacing: Double?
The textLetterSpacing propertyText tracking amount.
textMaxWidth
Link copied to clipboard
var textMaxWidth: Double?
The textMaxWidth propertyThe maximum line width for text wrapping.
textOffset
Link copied to clipboard
var textOffset: List<Double>?
The textOffset propertyOffset distance of text from its anchor.
textOpacity
Link copied to clipboard
var textOpacity: Double?
The textOpacity propertyThe opacity at which the text will be drawn.
textRadialOffset
Link copied to clipboard
var textRadialOffset: Double?
The textRadialOffset propertyRadial offset of text, in the direction of the symbol's anchor.
textRotate
Link copied to clipboard
var textRotate: Double?
The textRotate propertyRotates the text clockwise.
textSize
Link copied to clipboard
var textSize: Double?
The textSize propertyFont size.
textTransform
Link copied to clipboard
var textTransform: TextTransform?
The textTransform propertySpecifies how to capitalize text, similar to the CSS {@link PropertyFactory#textTransform} property.