Skip To Content ArcGIS for Developers Sign In Dashboard

KmlNetworkLink Class

(Esri::ArcGISRuntime::KmlNetworkLink)

A reference to a KML file or KMZ archive on a local or remote network. More...

Header: #include <KmlNetworkLink>
Since: Esri::ArcGISRuntime 100.4
Inherits: KmlNode

Public Functions

KmlNetworkLink(const QUrl &url, QObject *parent = nullptr)
~KmlNetworkLink()
bool canFlyToNode() const
QList<KmlNode *> childNodes() const
bool hasRefreshVisibility() const
bool isOpen() const
bool isPartiallyVisible() const
KmlListItemType listItemType() const
void setCanFlyToNode(bool canFlyToNode)
void setHasRefreshVisibility(bool hasRefreshVisibility)
void setListItemType(KmlListItemType listItemType)
void setOpen(bool open)
void setUrl(const QUrl &url)
QUrl url() const

Additional Inherited Members

Detailed Description

A reference to a KML file or KMZ archive on a local or remote network.

Member Function Documentation

Creates a KmlNetworkLink from the provided url to a KML/KMZ file, with an optional parent object.

This function was introduced in Esri::ArcGISRuntime 100.6.

Destructor.

bool KmlNetworkLink::canFlyToNode() const

Returns whether the app should zoom to the KmlNetworkLink when it refreshes.

When this is true, the app should zoom to the viewpoint defined on the associated KmlNetworkLink or the link's top-level KML node upon refresh of the link.

Note: It is the developer's responsibility to implement this behavior if desired.

See also setCanFlyToNode().

QList<KmlNode *> KmlNetworkLink::childNodes() const

Returns the child nodes of the KmlNetworkLink.

bool KmlNetworkLink::hasRefreshVisibility() const

Returns whether the KmlNetworkLink has refresh visiblity after load.

See also setHasRefreshVisibility().

bool KmlNetworkLink::isOpen() const

Returns whether if the KmlNetworkLink is open.

bool KmlNetworkLink::isPartiallyVisible() const

Returns whether the KmlNetworkLink is partially visible.

KmlListItemType KmlNetworkLink::listItemType() const

Returns the list item type of the KmlNetworkLink.

See also setListItemType().

void KmlNetworkLink::setCanFlyToNode(bool canFlyToNode)

Sets whether the app should zoom to the KmlNetworkLink when it refreshes to canFlyToNode.

This function was introduced in Esri::ArcGISRuntime 100.6.

See also canFlyToNode.

void KmlNetworkLink::setHasRefreshVisibility(bool hasRefreshVisibility)

Sets whether the KML network link has refresh visiblity after load to hasRefreshVisibility.

This function was introduced in Esri::ArcGISRuntime 100.6.

See also hasRefreshVisibility().

void KmlNetworkLink::setListItemType(KmlListItemType listItemType)

Sets the list item type of the KmlNetworkLink to listItemType.

This function was introduced in Esri::ArcGISRuntime 100.6.

See also listItemType().

void KmlNetworkLink::setOpen(bool open)

Sets isOpen of the KmlNetworkLink to open.

See also isOpen().

void KmlNetworkLink::setUrl(const QUrl &url)

Sets the data path of the KmlNetworkLink to url.

This function was introduced in Esri::ArcGISRuntime 100.6.

See also url().

QUrl KmlNetworkLink::url() const

Returns the data path of the KmlNetworkLink.

See also setUrl().


Feedback on this topic?