KmlSchema

class KmlSchema

A KML schema defines the structure of schema data for the extended data of nodes in a KmlDocument. Each KML schema consists of a name, schema ID, and a collection of KmlSimpleField objects. A single KML document can contain a number of different KML schemas.

Since

200.5.0

Constructors

Link copied to clipboard
constructor(fields: Iterable<KmlSimpleField>, name: String, schemaId: String)

Creates a schema from an array of KmlSimpleField objects, a name, and an ID. Schema ID should be unique.

Properties

Link copied to clipboard

A collection of KML simple fields. The collection of KmlSimpleField objects that define the fields in the KML schema.

Link copied to clipboard

The name of the schema defined in the KML file.

Link copied to clipboard

The ID of the schema defined in the KML file.

Functions

Link copied to clipboard

Returns the simple field object with the given name, or null if no such field exists.