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

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

The iconColor property in String

Link copied to clipboard

The iconEmissiveStrength property

Link copied to clipboard

The iconHaloBlur property

Link copied to clipboard

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

The iconHaloColor property in String

Link copied to clipboard

The iconHaloWidth property

Link copied to clipboard

The iconImage property

Link copied to clipboard
var iconImageBitmap: Bitmap? = null

The bitmap image for this Symbol

Link copied to clipboard

The iconImageCrossFade property

Link copied to clipboard

The iconOffset property

Link copied to clipboard

The iconOpacity property

Link copied to clipboard

The iconRotate property

Link copied to clipboard

The iconSize property

Link copied to clipboard

The iconTextFit property

Link copied to clipboard

The iconTextFitPadding property

Link copied to clipboard
val id: String
Link copied to clipboard
Link copied to clipboard
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

The symbolSortKey property

Link copied to clipboard

The textAnchor property

Link copied to clipboard

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

Link copied to clipboard

The textColor property in String

Link copied to clipboard

The textEmissiveStrength property

Link copied to clipboard

The textField property

Link copied to clipboard

The textHaloBlur property

Link copied to clipboard

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

Link copied to clipboard

The textHaloColor property in String

Link copied to clipboard

The textHaloWidth property

Link copied to clipboard

The textJustify property

Link copied to clipboard

The textLetterSpacing property

Link copied to clipboard

The textLineHeight property

Link copied to clipboard

The textMaxWidth property

Link copied to clipboard

The textOffset property

Link copied to clipboard

The textOpacity property

Link copied to clipboard

The textRadialOffset property

Link copied to clipboard

The textRotate property

Link copied to clipboard

The textSize property

Link copied to clipboard

The textTransform property