text property
The text (with optional template placeholders) to display in the balloon.
Balloon style text can be an explicit hardcoded string, or it can include placeholders to be substituted with values from the node. Valid placeholders include:
- $[name]: The KmlNode.name.
- $[description]: The KmlNode.description.
- $[id]: The KmlNode.id.
- $[address]: The KmlNode.address.
- $[snippet]: The KmlNode.snippet. Additionally, extended data display names and values from KmlNode.extendedSchemaData and KmlNode.extendedNonSchemaData can be substituted by using the following placeholders:
$[<schemaName>/<fieldName>/displayName]: The display name of a field in a schema.$[<schemaName>/<fieldName>]: The value of a field in a schema.$[<fieldName>/displayName]: The display name of a field not in a schema.$[<fieldName>]: The value of a field not in a schema. If the text property is empty, KmlNode.balloonContent uses a default template of $[name]
$[description], while still honoring the specified colors and visibility. Text can also include raw HTML content enclosed in a CDATA section.