KmlNode class final

A single node within a KML document.

KML is a file format used to display geographic data (geometric shapes, symbology and attributes). KML uses a tag-based structure with nested elements and attributes and is based on the XML standard. The KML files are often distributed in KMZ files, which are zipped KML files with a .kmz extension.

If you want to view attributes of the KML data, discover the organization or structure within the KmlDataset, toggle visibility of KML features, or navigate to specific KML features, you can examine the individual KML nodes.

A typical KML document can have multiple levels of nested KML nodes. Therefore, to accurately traverse through all of the KmlNode information in a KmlDataset, you should recursively test all KML nodes to see if they contain additional child KML Nodes. When writing your recursive function, pay particular attention to the properties: KmlDataset.rootNodes, KmlNetworkLink.childNodes, and KmlContainer.childNodes (inherited by KmlDocument and KmlFolder).

Implemented types
Implementers

Properties

address ↔ String
The address of the KML node.
getter/setter pair
balloonContent → String
The balloon content to display in a balloon popup for the KML node.
no setter
description ↔ String
The description of the KML node.
getter/setter pair
extendedNonSchemaData ↔ KmlNonSchemaData?
The non-schema data present in the extended data of a KML node.
getter/setter pair
extendedSchemaData → List<KmlSchemaData>
A collection of schema data present in the extended data of a KML node.
no setter
extent → Envelope?
The extent for the KML node.
no setter
hashCode → int
The hash code for this object.
no setterinherited
hasSnippet → bool
True if the KML node has a snippet, false otherwise.
no setter
highlightStyle ↔ KmlStyle?
The KML node's highlight style.
getter/setter pair
id ↔ String
The ID of the KML node.
getter/setter pair
isHighlighted ↔ bool
True if the KML node is highlighted, false otherwise.
getter/setter pair
isVisible ↔ bool
True if the KML node is visible, false otherwise.
getter/setter pair
name ↔ String
The name of the KML node.
getter/setter pair
onRefreshStatusChanged → Stream<KmlRefreshStatus>
Callback invoked when a KML node's is refreshed.
no setter
parentNode → KmlNode?
The KML node's parent.
no setter
refreshError → ArcGISException?
The KML node's refresh error.
no setter
refreshStatus → KmlRefreshStatus
The KML node's refresh status.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
snippet ↔ String
The KML node's snippet.
getter/setter pair
snippetMaxLines ↔ int
The maximum number of lines of snippet to be shown in the UI.
getter/setter pair
style ↔ KmlStyle?
The KML node's style.
getter/setter pair
timeExtent ↔ TimeExtent?
The KML node's time extent.
getter/setter pair
uxIcon → ArcGISImage?
The UX icon of a KML node.
no setter
uxIconColor → Color?
The color mask used to tint the node's icon.
no setter
uxIconId → int
The UX icon id.
no setter
viewpoint ↔ KmlViewpoint?
The KML node's viewpoint.
getter/setter pair

Methods

clearSnippet() → void
Clear the KMLNode snippet.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
saveAs({required Uri kmzFileUri}) → Future<void>
Saves the node and any referenced local files into a zipped KMZ archive.
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited