PolylineAnnotation

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

Class for PolylineAnnotation

Constructors

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

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): LineString?

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: LineString
id
Link copied to clipboard
val id: Long
isDraggable
Link copied to clipboard
var isDraggable: Boolean
isSelected
Link copied to clipboard
var isSelected: Boolean
lineBlur
Link copied to clipboard
var lineBlur: Double?

The lineBlur property

lineColorInt
Link copied to clipboard
var lineColorInt: Int?

The lineColor property in Int The color with which the line will be drawn.

lineColorString
Link copied to clipboard
var lineColorString: String?

The lineColor property in String

lineGapWidth
Link copied to clipboard
var lineGapWidth: Double?

The lineGapWidth property

lineJoin
Link copied to clipboard
var lineJoin: LineJoin?

The lineJoin property

lineOffset
Link copied to clipboard
var lineOffset: Double?

The lineOffset property

lineOpacity
Link copied to clipboard
var lineOpacity: Double?

The lineOpacity property

linePattern
Link copied to clipboard
var linePattern: String?

The linePattern property

lineSortKey
Link copied to clipboard
var lineSortKey: Double?

The lineSortKey property

lineWidth
Link copied to clipboard
var lineWidth: Double?

The lineWidth property

points
Link copied to clipboard
var points: List<Point>

A list of Point for the line, which represents the locations of the line on the map