Skip To Content ArcGIS for Developers Sign In Dashboard

KmlIcon Class


A KML Icon Object More...

Header: #include <KmlIcon>
Since: Esri::ArcGISRuntime 100.6
Inherits: Object

Public Functions

KmlIcon(const QUrl &url, QObject *parent = nullptr)
quint64 refreshInterval() const
KmlRefreshMode refreshMode() const
void setRefreshInterval(quint64 refreshInterval)
void setRefreshMode(KmlRefreshMode refreshMode)
void setUrl(const QUrl &url)
void setViewRefreshMode(KmlViewRefreshMode viewRefreshMode)
void setViewRefreshTime(quint64 viewRefreshTime)
QUrl url() const
KmlViewRefreshMode viewRefreshMode() const
quint64 viewRefreshTime() const
  • 31 public functions inherited from QObject

Additional Inherited Members

Detailed Description

A KML Icon Object

A KML icon specifies the location and refresh paramaters of an overlay image.

Member Function Documentation

KmlIcon::KmlIcon(const QUrl &url, QObject *parent = nullptr)

Creates a KML icon from the provided image file url and optional parent.

quint64 KmlIcon::refreshInterval() const

Returns the icon's refresh interval in milliseconds

See also setRefreshInterval().

KmlRefreshMode KmlIcon::refreshMode() const

Returns the icon's refresh mode.

See also setRefreshMode().

void KmlIcon::setRefreshInterval(quint64 refreshInterval)

Sets the icon's refreshInterval in milliseconds

See also refreshInterval().

void KmlIcon::setRefreshMode(KmlRefreshMode refreshMode)

Sets the icon's refreshMode. Defaults to KmlRefreshMode::OnChange

See also refreshMode().

void KmlIcon::setUrl(const QUrl &url)

Sets the icon's url. The may point to either a local image file or an image on a remote web server

See also url().

void KmlIcon::setViewRefreshMode(KmlViewRefreshMode viewRefreshMode)

Sets the icon's viewRefreshMode. Defaults to KmlViewRefreshMode::Never

See also viewRefreshMode().

void KmlIcon::setViewRefreshTime(quint64 viewRefreshTime)

Sets the icon's viewRefreshTime in milliseconds

See also viewRefreshTime().

QUrl KmlIcon::url() const

Returns the icon's image file url

See also setUrl().

KmlViewRefreshMode KmlIcon::viewRefreshMode() const

Returns the icon's view refresh mode.

See also setViewRefreshMode().

quint64 KmlIcon::viewRefreshTime() const

Returns the icon's view refresh time in milliseconds

See also setViewRefreshTime().

Feedback on this topic?