SchemaData

@Serializable
data class SchemaData(val schemaUrl: String? = null, val simpleData: List<SimpleData> = emptyList())

This element is used in conjunction with Schema to add typed custom data to a KML Feature. The Schema element (identified by the schemaUrl attribute) declares the custom data type. The actual data objects ("instances" of the custom data) are defined using the SchemaData element.

The Schema element is always a child of Document. The ExtendedData element is a child of the Feature that contains the custom data.

Constructors

Link copied to clipboard
constructor(schemaUrl: String? = null, simpleData: List<SimpleData> = emptyList())

Properties

Link copied to clipboard

The schemaUrl can be a full URL, a reference to a Schema ID defined in an external KML file, or a reference to a Schema ID defined in the same KML file.

Link copied to clipboard
@XmlElement
val simpleData: List<SimpleData>

This element assigns a value to the custom data field identified by the name attribute. The type and name of this custom data field are declared in the Schema element.