Show / Hide Table of Contents

Class KmlDocument

A container for KML nodes and KML styles.

Inheritance
System.Object
KmlNode
KmlContainer
KmlDocument
Implements
System.ComponentModel.INotifyPropertyChanged
KmlContainer.ListItemType
KmlContainer.IsOpen
KmlContainer.IsPartiallyVisible
KmlContainer.ChildNodes
KmlNode.Description
KmlNode.Extent
KmlNode.BalloonContent
KmlNode.BalloonBackgroundColor
KmlNode.IsHighlighted
KmlNode.IsVisible
KmlNode.Name
KmlNode.Parent
KmlNode.Snippet
KmlNode.SnippetMaxLines
KmlNode.UxIcon
KmlNode.UxIconColor
KmlNode.UxIconId
KmlNode.Viewpoint
KmlNode.RefreshError
KmlNode.RefreshStatus
KmlNode.Id
KmlNode.Style
KmlNode.HighlightStyle
KmlNode.Address
KmlNode.TimeExtent
KmlNode.ExtendedNonSchemaData
KmlNode.ExtendedSchemaData
KmlNode.SaveAsAsync(String)
KmlNode.WriteToAsync(Stream)
KmlNode.PropertyChanged
KmlNode.OnPropertyChanged(String)
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Esri.ArcGISRuntime.Ogc
Assembly: Esri.ArcGISRuntime.dll
Syntax
public sealed class KmlDocument : KmlContainer, INotifyPropertyChanged
Remarks

A KML document contains information about the extended data attributes of the KML nodes in its hierarchy. You can determine whether any of the nodes in the KML document support KML schemas by examining ContainsSchemaDataInHierarchy. If the value is true, you can obtain a collection of these supported schemas from Schemas. If any of the nodes in the KML document supports non-schema data, ContainsNonSchemaDataInHierarchy will also be true.

Constructors

Name Description
KmlDocument()

Initializes a new instance of the KmlDocument class.

Properties

Name Description
ContainsNonSchemaDataInHierarchy

Gets a value indicating whether the KML document contains typed or untyped non-schema extended data within its node hierarchy.

ContainsSchemaDataInHierarchy

Gets a value indicating whether the KML document contains schema extended data within its node hierarchy.

Schemas

Gets the collection of KML schemas for the extended data of the nodes in the KML document.

Applies to

TargetVersions
.NET Standard 2.0100.4 - 200.7
.NET100.13 - 200.7
.NET Windows100.13 - 200.7
.NET Android200.0 - 200.7
.NET iOS200.0 - 200.7
.NET Framework100.4 - 200.7
Xamarin.Android100.4 - 100.15
Xamarin.iOS100.4 - 100.15
UWP100.4 - 200.7

Relevant samples

Create and save KML file: Construct a KML document and save it as a KMZ file.
In This Article
Back to top Copyright © 2022 Esri.