A KML Icon Object. More...
Header | #include <Kml |
Since | Esri |
Inherits | Esri |
Public Functions
Kml | |
quint64 | refresh |
Esri | refresh |
void | set |
void | set |
void | set |
void | set |
Q | url() const |
Esri | view |
quint64 | view |
Detailed Description
A KML icon specifies the location and refresh paramaters of an overlay image.
Relevant samples:
- Create and save KML file: Construct a KML document and save it as a KMZ file.
- Edit KML ground overlay: Edit the values of a KML ground overlay.
Member Function Documentation
[explicit]
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().
Esri::ArcGISRuntime::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 (Esri::ArcGISRuntime::KmlRefreshMode refreshMode )
Sets the icon's refreshMode. Defaults to KmlRefreshMode::OnChange
See also refreshMode().
void KmlIcon::setViewRefreshMode (Esri::ArcGISRuntime::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
Esri::ArcGISRuntime::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().