ArcGIS Developers

ElevationSource Class

class Esri::ArcGISRuntime::ElevationSource

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

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

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

This class was introduced in Esri::ArcGISRuntime 100.0.

Public Functions

virtual ~ElevationSource() override
Esri::ArcGISRuntime::ElevationSourceType elevationSourceType() const
bool isEnabled() const
QString name() const
void setEnabled(bool enabled)
void setName(const QString &name)

Reimplemented Public Functions

virtual void cancelLoad() override
virtual void load() override
virtual Esri::ArcGISRuntime::Error loadError() const override
virtual Esri::ArcGISRuntime::LoadStatus loadStatus() const override
virtual void retryLoad() override


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

Detailed Description

See also ArcGISTiledElevationSource.

Member Function Documentation

[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.

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

Signal emitted when the loadStatus property changes.

See also Loadable.

[override virtual] ElevationSource::~ElevationSource()


[override virtual] void ElevationSource::cancelLoad()

Reimplements: Loadable::cancelLoad().

See Loadable.

Esri::ArcGISRuntime::ElevationSourceType ElevationSource::elevationSourceType() const

Gets the ElevationSourceType.

bool ElevationSource::isEnabled() const

Gets whether the elevation souce is enabled.

Returns true if it is enabled.

[override virtual] void ElevationSource::load()

Reimplements: Loadable::load().

See Loadable.

[override virtual] Esri::ArcGISRuntime::Error ElevationSource::loadError() const

Reimplements: Loadable::loadError() const.

See Loadable.

[override virtual] Esri::ArcGISRuntime::LoadStatus ElevationSource::loadStatus() const

Reimplements: Loadable::loadStatus() const.

See Loadable.

QString ElevationSource::name() const

Gets the name of the elevation source.

See also setName().

[override virtual] void ElevationSource::retryLoad()

Reimplements: 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?