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

equals
Link copied to clipboard
open operator fun equals(other: Any?): Boolean
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
hashCode
Link copied to clipboard
open fun hashCode(): Int
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
toString
Link copied to clipboard
open fun toString(): String

Properties

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 propertyBlur applied to the line, in density-independent pixels.
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 StringThe color with which the line will be drawn.
lineGapWidth
Link copied to clipboard
var lineGapWidth: Double?
The lineGapWidth propertyDraws a line casing outside of a line's actual path.
lineJoin
Link copied to clipboard
var lineJoin: LineJoin?
The lineJoin propertyThe display of lines when joining.
lineOffset
Link copied to clipboard
var lineOffset: Double?
The lineOffset propertyThe line's offset.
lineOpacity
Link copied to clipboard
var lineOpacity: Double?
The lineOpacity propertyThe opacity at which the line will be drawn.
linePattern
Link copied to clipboard
var linePattern: String?
The linePattern propertyName of image in sprite to use for drawing image lines.
lineSortKey
Link copied to clipboard
var lineSortKey: Double?
The lineSortKey propertySorts features in ascending order based on this value.
lineWidth
Link copied to clipboard
var lineWidth: Double?
The lineWidth propertyStroke thickness.
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 mapTo update the polylineAnnotation on the map use {@link PolylineAnnotationManager#update(Annotation)}.