KmlDataset class final
A KML dataset represents the current state of the KML data specified in a KML/KMZ file.
The KML Dataset provides an entry point to traverse the tree of KML nodes that make up the KML document. You can create a KML dataset from an existing KML/KMZ file by using KmlDataset.new or you can create a new KML dataset by using a specified root node (KmlDataset.withRootNode).
- Implemented types
- Mixed-in types
Constructors
- KmlDataset(Uri uri)
-
Creates a KML dataset from the provided path to a KML/KMZ file.
factory
- KmlDataset.withRootNode(KmlNode rootNode)
-
Creates a KML dataset from the specified root node.
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- loadError → ArcGISException?
-
The load error.
no setterinherited
- loadStatus → LoadStatus
-
The load status.
no setterinherited
-
onLoadStatusChanged
→ Stream<
LoadStatus> -
A stream that reports changes to the LoadStatus.
no setterinherited
-
onNetworkLinkMessageReceived
→ Stream<
({String message, KmlNetworkLink networkLink})> -
Sets the callback that gets invoked when a KML dataset network link
message is available.
no setter
-
onNodeBalloonVisibilityChanged
→ Stream<
({bool balloonVisibility, KmlNode eventTarget})> -
Sets the callback that gets invoked when any KML node's balloon visibility
changes.
no setter
-
onNodeRefreshStatusChanged
→ Stream<
({KmlNode kmlNode, KmlRefreshStatus refreshStatus})> -
Sets the callback that gets invoked when a KML refresh event is raised on
a KML node.
no setter
-
rootNodes
→ List<
KmlNode> -
The KML dataset's root nodes.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- uri → Uri?
-
The location of the KML/KMZ file, which can either be on disk or from the
network.
no setter
Methods
-
cancelLoad(
) → void -
Cancels loading metadata for the object.
inherited
-
load(
) → Future< void> -
Loads the metadata for the object asynchronously.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
retryLoad(
) → Future< void> -
Loads or retries loading metadata for the object asynchronously.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited