addField

fun addField(field: KmlSimpleField, attributeValue: Any)

Adds the given field with an attribute value.

Since

200.6.0

Parameters

field

The field.

attributeValue

The attribute value.

Throws

The data must be of the same type as the field. See KmlSimpleField.type.


fun addField(name: String, attributeValue: String)

Adds the given field as string type with an attribute value.

Since

200.6.0

Parameters

name

The name of the field.

attributeValue

The attribute value.