Point

@Serializable
data class Point(val id: String? = null, val extrude: Boolean = false, val altitudeMode: AltitudeMode = AltitudeMode.clampToGround, val coordinates: Coordinate) : Geometry

A geographic location defined by longitude, latitude, and (optional) altitude. When a Point is contained by a Placemark, the point itself determines the position of the Placemark's name and icon. When a Point is extruded, it is connected to the ground with a line. This "tether" uses the current LineStyle.

Constructors

Link copied to clipboard
constructor(id: String? = null, extrude: Boolean = false, altitudeMode: AltitudeMode = AltitudeMode.clampToGround, coordinates: Coordinate)

Properties

Link copied to clipboard
@XmlElement
val altitudeMode: AltitudeMode

Specifies how altitude components in the element are interpreted.

Link copied to clipboard
@XmlElement
val coordinates: Coordinate

A single tuple consisting of floating point values for longitude, latitude, and altitude (in that order). Longitude and latitude values are in degrees, where

Link copied to clipboard
@XmlElement
@Serializable(with = FlexibleBooleanSerializer::class)
val extrude: Boolean

Boolean value. Specifies whether to connect the point to the ground with a line. To extrude a Point, the value for altitudeMode must be either AltitudeMode.relativeToGround, AltitudeMode.relativeToSeaFloor, or AltitudeMode.absolute. The point is extruded toward the center of the Earth's sphere.

Link copied to clipboard
open override val id: String?