PointAnnotation

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

Class for PointAnnotation

Constructors

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

Types

Link copied to clipboard
object Companion

Static variables and methods.

Functions

Link copied to clipboard
open fun getData(): JsonElement?
Link copied to clipboard
fun getJsonObjectCopy(): JsonObject
Link copied to clipboard
open override fun getOffsetGeometry(mapCameraManagerDelegate: MapCameraManagerDelegate, moveDistancesObject: MoveDistancesObject): Point?

Get the offset geometry for the touch point

Link copied to clipboard
open override fun getType(): AnnotationType

Get the type of this annotation

Link copied to clipboard
open fun setData(jsonElement: JsonElement?)
Link copied to clipboard
open override fun setUsedDataDrivenProperties()

Set the used data-driven properties

Properties

Link copied to clipboard
var geometry: Point
Link copied to clipboard

The iconAnchor property

Link copied to clipboard
@get:ColorInt
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/.

Link copied to clipboard
var iconColorString: String?

The iconColor property in String

Link copied to clipboard

The iconEmissiveStrength property

Link copied to clipboard
var iconHaloBlur: Double?

The iconHaloBlur property

Link copied to clipboard
@get:ColorInt
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/.

Link copied to clipboard
var iconHaloColorString: String?

The iconHaloColor property in String

Link copied to clipboard
var iconHaloWidth: Double?

The iconHaloWidth property

Link copied to clipboard
var iconImage: String?

The iconImage property

Link copied to clipboard
var iconImageBitmap: Bitmap? = null

The bitmap image for this Symbol

Link copied to clipboard
var iconImageCrossFade: Double?

The iconImageCrossFade property

Link copied to clipboard

The iconOcclusionOpacity property

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

The iconOffset property

Link copied to clipboard
var iconOpacity: Double?

The iconOpacity property

Link copied to clipboard
var iconRotate: Double?

The iconRotate property

Link copied to clipboard
var iconSize: Double?

The iconSize property

Link copied to clipboard

The iconTextFit property

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

The iconTextFitPadding property

Link copied to clipboard
val id: String
Link copied to clipboard
var isDraggable: Boolean
Link copied to clipboard
var isSelected: Boolean
Link copied to clipboard
var point: Point

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

Link copied to clipboard
var symbolSortKey: Double?

The symbolSortKey property

Link copied to clipboard
var symbolZOffset: Double?

The symbolZOffset property

Link copied to clipboard

The textAnchor property

Link copied to clipboard
@get:ColorInt
var textColorInt: Int?

The textColor property in Int The color with which the text will be drawn.

Link copied to clipboard
var textColorString: String?

The textColor property in String

Link copied to clipboard

The textEmissiveStrength property

Link copied to clipboard
var textField: String?

The textField property

Link copied to clipboard
var textHaloBlur: Double?

The textHaloBlur property

Link copied to clipboard
@get:ColorInt
var textHaloColorInt: Int?

The textHaloColor property in Int The color of the text's halo, which helps it stand out from backgrounds.

Link copied to clipboard
var textHaloColorString: String?

The textHaloColor property in String

Link copied to clipboard
var textHaloWidth: Double?

The textHaloWidth property

Link copied to clipboard

The textJustify property

Link copied to clipboard
var textLetterSpacing: Double?

The textLetterSpacing property

Link copied to clipboard
var textLineHeight: Double?

The textLineHeight property

Link copied to clipboard
var textMaxWidth: Double?

The textMaxWidth property

Link copied to clipboard

The textOcclusionOpacity property

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

The textOffset property

Link copied to clipboard
var textOpacity: Double?

The textOpacity property

Link copied to clipboard
var textRadialOffset: Double?

The textRadialOffset property

Link copied to clipboard
var textRotate: Double?

The textRotate property

Link copied to clipboard
var textSize: Double?

The textSize property

Link copied to clipboard

The textTransform property