Skip To Content ArcGIS for Developers Sign In Dashboard

MapSublayerSource Class

(Esri::ArcGISRuntime::MapSublayerSource)

Sublayer source that refers to an existing layer in the current map service. More...

Header: #include <MapSublayerSource>
Since: Esri::ArcGISRuntime 100.1
Inherits: SublayerSource

Public Functions

MapSublayerSource(qint64 id, QObject *parent = nullptr)
~MapSublayerSource()
QString geodatabaseVersion() const
qint64 mapSublayerId() const
void setGeodatabaseVersion(const QString &geodatabaseVersion)

Additional Inherited Members

Detailed Description

Sublayer source that refers to an existing layer in the current map service.

Member Function Documentation

MapSublayerSource::MapSublayerSource(qint64 id, QObject *parent = nullptr)

Constructor that uses a map's sublayer ID.

  • id - The sublayer ID.
  • parent - The parent object (optional, defaults to nullptr).

MapSublayerSource::~MapSublayerSource()

Destructor.

QString MapSublayerSource::geodatabaseVersion() const

Returns the geodatabase version name.

See also setGeodatabaseVersion().

qint64 MapSublayerSource::mapSublayerId() const

Returns the ID of the source sublayer of this object.

void MapSublayerSource::setGeodatabaseVersion(const QString &geodatabaseVersion)

Sets the geodatabase version name to geodatabaseVersion, if applicable.

See also geodatabaseVersion().


Feedback on this topic?