Show / Hide Table of Contents

Class KmlNetworkLink

A KML network link references other KML resources, locally or on the network.

Inheritance
Object
KmlNode
KmlNetworkLink
Implements
INotifyPropertyChanged
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.SaveAsAsync(String)
KmlNode.WriteToAsync(Stream)
KmlNode.PropertyChanged
KmlNode.OnPropertyChanged(String)
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()
Namespace: Esri.ArcGISRuntime.Ogc
Assembly: Esri.ArcGISRuntime.dll
Syntax
public sealed class KmlNetworkLink : KmlNode, INotifyPropertyChanged
Remarks

A KML network link can have a refresh interval defined to enable regular refresh of data. Alternatively, KML network links support a view refresh mode, which fetches network links based on the visible extent.

Constructors

Name Description
KmlNetworkLink(Uri)

Initializes a new instance of the KmlNetworkLink class that references a KML file or KMZ archive, on a local or remote network.

Properties

Name Description
CanFlyToNode

Gets or sets a value indicating whether the app should zoom to the viewpoint defined on the associated NetworkLinkControl or the network link's top-level kml node upon refresh of the link.

ChildNodes

Gets the network link's child KML nodes.

HasRefreshVisibility

Gets or sets a value indicating whether Runtime should attempt to maintain the visibility selection of child nodes in the network link after refresh.

IsOpen

Gets or sets a value indicating whether the KML network link node should be shown expanded in a tree view.

IsPartiallyVisible

Gets a value indicating whether KML nodes in this container have mixed visibility.

ListItemType

Gets or sets the network link's list item type, which defines how child nodes behave when setting visibility.

RefreshInterval

Gets or sets the network link's refresh interval.

RefreshMode

Gets or sets the KML network link's refresh mode.

Source

Gets or sets the path referenced by this network link.

ViewRefreshMode

Gets or sets the KML network link's view refresh mode.

ViewRefreshTime

Gets or sets the KML network link's view refresh time on an KmlNetworkLink.

Methods

Name Description
Refresh()

Refreshes the KML network link.

Applies to

TargetVersions
.NET Standard 2.0100.4 - 100.15
.NET 6.0100.13 - 100.15
.NET 6.0 Windows100.13 - 100.15
.NET Framework100.4 - 100.15
.NET 5100.10 - 100.12
.NET Core 3.1100.7 - 100.12
Xamarin.Android100.4 - 100.15
Xamarin.iOS100.4 - 100.15
UWP100.4 - 100.15

Relevant samples

List KML contents: List the contents of a KML file.
In This Article
Back to top Copyright © 2022 Esri.