Skip To Content ArcGIS for Developers Sign In Dashboard

ElevationSource Class


The base class for elevation source classes such as ArcGISTiledElevationSource. More...

Header: #include <ElevationSource>
Since: Esri::ArcGISRuntime 100.0
Inherits: Object and Loadable
Inherited By:

Esri::ArcGISRuntime::ArcGISTiledElevationSource and Esri::ArcGISRuntime::RasterElevationSource

Public Functions

ElevationSourceType elevationSourceType() const
bool isEnabled() const
QString name() const
void setEnabled(bool enabled)
void setName(const QString &name)

Reimplemented Public Functions

virtual void cancelLoad()
virtual void load()
virtual Error loadError() const
virtual LoadStatus loadStatus() const
virtual void retryLoad()


void doneLoading(Esri::ArcGISRuntime::Error loadError)
void loadStatusChanged(Esri::ArcGISRuntime::LoadStatus loadStatus)

Additional Inherited Members

  • 1 property inherited from QObject
  • 1 public slot inherited from QObject
  • 1 public variable inherited from QObject
  • 10 static public members inherited from QObject
  • 9 protected functions inherited from QObject
  • 2 protected variables inherited from QObject

Detailed Description

The base class for elevation source classes such as ArcGISTiledElevationSource.

See also ArcGISTiledElevationSource.

Member Function Documentation



[virtual] void ElevationSource::cancelLoad()

Reimplemented from Loadable::cancelLoad().

See Loadable.

[signal] void ElevationSource::doneLoading(Esri::ArcGISRuntime::Error loadError)

Signal emitted when this object is done loading.

  • loadError - Details about any error that may have occurred.

Note: If there is a load error it will also be emitted on the errorOccurred signal.

See also Loadable and Object.

ElevationSourceType ElevationSource::elevationSourceType() const

Gets the ElevationSourceType.

bool ElevationSource::isEnabled() const

Gets whether the elevation souce is enabled.

Returns true if it is enabled.

[virtual] void ElevationSource::load()

Reimplemented from Loadable::load().

See Loadable.

[virtual] Error ElevationSource::loadError() const

Reimplemented from Loadable::loadError().

See Loadable.

[virtual] LoadStatus ElevationSource::loadStatus() const

Reimplemented from Loadable::loadStatus().

See Loadable.

[signal] void ElevationSource::loadStatusChanged(Esri::ArcGISRuntime::LoadStatus loadStatus)

Signal emitted when the loadStatus property changes.

See also Loadable.

QString ElevationSource::name() const

Gets the name of the elevation source.

See also setName().

[virtual] void ElevationSource::retryLoad()

Reimplemented from Loadable::retryLoad().

See Loadable.

void ElevationSource::setEnabled(bool enabled)

Sets whether the elevation source is enabled.

See also isEnabled().

void ElevationSource::setName(const QString &name)

Sets the name of the elevation source.

See also name().

Feedback on this topic?