Style

@Serializable
data class Style(val id: String? = null, val styles: List<ColorStyle> = emptyList()) : StyleSelector

A Style defines an addressable style group that can be referenced by StyleMaps and Features. Styles affect how Geometry is presented in the 3D viewer and how Features appear in the Places panel of the List view. Shared styles are collected in a and must have an id defined for them so that they can be referenced by the individual Features that use them.

Use an id to refer to the style from a .

Constructors

Link copied to clipboard
constructor(id: String? = null, styles: List<ColorStyle> = emptyList())

Properties

Link copied to clipboard
open override val id: String?
Link copied to clipboard
@XmlPolyChildren(value = ["earth.worldwind.formats.kml.models.LineStyle", "earth.worldwind.formats.kml.models.PolyStyle", "earth.worldwind.formats.kml.models.LabelStyle", "earth.worldwind.formats.kml.models.IconStyle"])
@XmlElement
val styles: List<ColorStyle>