KmlGeometry

open class KmlGeometry

A KML geometry object. A KML geometry contains all the KML specific information associated with a Geometry.

Since

200.1.0

Inheritors

Constructors

Link copied to clipboard
constructor(geometry: Geometry, altitudeMode: KmlAltitudeMode, isExtruded: Boolean = false, isTessellated: Boolean = false)

Creates a KmlGeometry from a com.arcgismaps.geometry.Geometry using a specific altitude mode, extruded flag, and a tessellated flag. Polyline, polygon and track geometries can be tessellated. Extrusion is ignored when the altitude mode is set to KmlAltitudeMode.ClampToGround, or when the geometry is a KmlModel.

Properties

Link copied to clipboard

The KML altitude mode.

Link copied to clipboard

The com.arcgismaps.geometry.Geometry contained within the KML geometry. If there is no contained geometry (e.g. reading a KmlModel with a missing location tag, or an empty KmlMultiGeometry), this property will return an empty point.

Link copied to clipboard

A flag indicating if the KML geometry is extruded. Extrusion is ignored when the altitude mode is set to KmlAltitudeMode.ClampToGround, or when the geometry is a KmlModel.

Link copied to clipboard

A flag indicating if the KML geometry is tessellated. In order for tessellated geometry to follow the terrain, KmlGeometry.altitudeMode must be KmlAltitudeMode.ClampToGround. Polyline, polygon and track geometries can be tessellated.

Link copied to clipboard

The KML geometry type.

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int