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

featureIdentifier
Link copied to clipboard
val featureIdentifier: String
geometry
Link copied to clipboard
var geometry: Point
iconAnchor
Link copied to clipboard
var iconAnchor: IconAnchor?

The iconAnchor property

iconColorInt
Link copied to clipboard
var iconColorInt: Int?

The iconColor property in Int The color of the icon. This can only be used with /help/troubleshooting/using-recolorable-images-in-mapbox-maps/.

iconColorString
Link copied to clipboard
var iconColorString: String?

The iconColor property in String

iconHaloBlur
Link copied to clipboard
var iconHaloBlur: Double?

The iconHaloBlur property

iconHaloColorInt
Link copied to clipboard
var iconHaloColorInt: Int?

The iconHaloColor property in Int The color of the icon's halo. Icon halos can only be used with /help/troubleshooting/using-recolorable-images-in-mapbox-maps/.

iconHaloColorString
Link copied to clipboard
var iconHaloColorString: String?

The iconHaloColor property in String

iconHaloWidth
Link copied to clipboard
var iconHaloWidth: Double?

The iconHaloWidth property

iconImage
Link copied to clipboard
var iconImage: String?

The iconImage property

iconImageBitmap
Link copied to clipboard
var iconImageBitmap: Bitmap? = null

The bitmap image for this Symbol

iconOffset
Link copied to clipboard
var iconOffset: List<Double>?

The iconOffset property

iconOpacity
Link copied to clipboard
var iconOpacity: Double?

The iconOpacity property

iconRotate
Link copied to clipboard
var iconRotate: Double?

The iconRotate property

iconSize
Link copied to clipboard
var iconSize: Double?

The iconSize property

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 map

symbolSortKey
Link copied to clipboard
var symbolSortKey: Double?

The symbolSortKey property

textAnchor
Link copied to clipboard
var textAnchor: TextAnchor?

The textAnchor property

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 String

textField
Link copied to clipboard
var textField: String?

The textField property

textHaloBlur
Link copied to clipboard
var textHaloBlur: Double?

The textHaloBlur property

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 String

textHaloWidth
Link copied to clipboard
var textHaloWidth: Double?

The textHaloWidth property

textJustify
Link copied to clipboard
var textJustify: TextJustify?

The textJustify property

textLetterSpacing
Link copied to clipboard
var textLetterSpacing: Double?

The textLetterSpacing property

textLineHeight
Link copied to clipboard
var textLineHeight: Double?

The textLineHeight property

textMaxWidth
Link copied to clipboard
var textMaxWidth: Double?

The textMaxWidth property

textOffset
Link copied to clipboard
var textOffset: List<Double>?

The textOffset property

textOpacity
Link copied to clipboard
var textOpacity: Double?

The textOpacity property

textRadialOffset
Link copied to clipboard
var textRadialOffset: Double?

The textRadialOffset property

textRotate
Link copied to clipboard
var textRotate: Double?

The textRotate property

textSize
Link copied to clipboard
var textSize: Double?

The textSize property

textTransform
Link copied to clipboard
var textTransform: TextTransform?

The textTransform property