PolylineAnnotation

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

Class for PolylineAnnotation

Constructors

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

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

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: LineString
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 lineBlur: Double?

The lineBlur property

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

The lineBorderColor property in Int The color of the line border. If line-border-width is greater than zero and the alpha value of this color is 0 (default), the color for the border will be selected automatically based on the line color.

Link copied to clipboard

The lineBorderColor property in String

Link copied to clipboard
var lineBorderWidth: Double?

The lineBorderWidth property

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

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

Link copied to clipboard
var lineColorString: String?

The lineColor property in String

Link copied to clipboard
var lineGapWidth: Double?

The lineGapWidth property

Link copied to clipboard

The lineJoin property

Link copied to clipboard
var lineOffset: Double?

The lineOffset property

Link copied to clipboard
var lineOpacity: Double?

The lineOpacity property

Link copied to clipboard
var linePattern: String?

The linePattern property

Link copied to clipboard
var lineSortKey: Double?

The lineSortKey property

Link copied to clipboard
var lineWidth: Double?

The lineWidth property

Link copied to clipboard
var lineZOffset: Double?

The lineZOffset property

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