Marker

data class Marker(val kind: Int = 0, val color: Int = 0, val colorArgb: Int = 0, val readiness: Boolean = false, val parentUid: String = "", val parentType: String = "", val parentCallsign: String = "", val iconset: String = "") : TakPacketV2Data.Payload(source)

Fixed marker: spot, waypoint, checkpoint, 2525 symbol, or custom icon. Maps to the Marker protobuf message at payload_variant tag 35.

Constructors

Link copied to clipboard
constructor(kind: Int = 0, color: Int = 0, colorArgb: Int = 0, readiness: Boolean = false, parentUid: String = "", parentType: String = "", parentCallsign: String = "", iconset: String = "")

Properties

Link copied to clipboard
val color: Int

Team palette enum value, or AtakPalette.UNSPECIFIED for a custom color.

Link copied to clipboard

Exact 32-bit ARGB bit pattern (always set by the parser).

Link copied to clipboard

Icon set path (e.g. COT_MAPPING_2525B/…); empty for built-in markers.

Link copied to clipboard
val kind: Int

One of the MARKER_KIND_* constants in CotXmlParser.

Link copied to clipboard

Callsign of the parent item.

Link copied to clipboard

CoT type of the parent item.

Link copied to clipboard

UID of the parent map item this marker links to.

Link copied to clipboard

Readiness flag from <status readiness="true"/>.