Kml Dataset
A KML dataset object. KML dataset represents the current state of the KML data specified in a KML/KMZ file.
Since
200.1.0
Constructors
Creates a KML dataset from the specified root node. Creates a KML dataset. KML dataset is the source of KML information backing a KML layer. Use the KML dataset to interact with the contents of a KML layer. Licensing for KML depends on the method of access. Creating a KML dataset from a root node requires an ArcGIS Runtime 'Standard' license level.
Creates a KML dataset from the provided path to a KML/KMZ file. Creates a KML dataset. KML dataset is the source of KML information backing a KML layer. Use the KML dataset to interact with the contents of a KML layer. Licensing for KML depends on the method of access. Accessing files on disk requires an ArcGIS Runtime 'Standard' license level.
Properties
Sets the callback that gets invoked when any KML node's balloon visibility changes. Set this callback to know when to show or hide a KML node's balloon popup.
Sets the callback that gets invoked when a KML refresh event is raised on a KML node. Set a KML dataset refresh callback to observe KML node refreshes.
The KML dataset's root nodes. KML files can have multiple root nodes, each of which may have children. When traversing the KML feature tree (for example to build a TOC), KmlDataset.rootNodes is the correct starting point. Each root node can be the start of a tree of nodes, so these should be recursively explored with KmlContainer.childNodes or KmlNetworkLink.childNodes.
The location of the KML/KMZ file, which can either be on disk or from the network. The URI of the backing file. Files can be loaded from local storage or the network. Note that KML files often point to network locations for their data (using network links). As a result, the loaded KML layer may display more information than is contained in the loaded KML file. KML files can point to network locations. These locations may be insecure (over plain text HTTP) even when the URI returned from this function is pointing to an SSL/TLS-secured resource.