A map sublayer source refers to a layer in the current map service. More...
Header: | #include <MapSublayerSource.h> |
Since: | Esri::ArcGISRuntime 100.1 |
Inherits: | Esri::ArcGISRuntime::SublayerSource |
Public Functions
MapSublayerSource(qint64 id, QObject *parent = nullptr) | |
virtual | ~MapSublayerSource() override |
QString | geodatabaseVersion() const |
qint64 | mapSublayerId() const |
void | setGeodatabaseVersion(const QString &geodatabaseVersion) |
Detailed Description
If supported, use the geodatabase version property to specify an alternate geodatabase version.
See also TableSublayerSource, TableJoinSublayerSource, TableQuerySublayerSource, RasterSublayerSource, and SublayerSourceType::MapSublayerSource.
Member Function Documentation
[explicit]
MapSublayerSource::MapSublayerSource (qint64 id, QObject *parent = nullptr)
Create a map sublayer source from a map sublayer id.
- id - The map sublayer id.
- parent - The optional parent QObject.
[override virtual]
MapSublayerSource::~MapSublayerSource ()
Destructor.
QString MapSublayerSource::geodatabaseVersion () const
Returns the geodatabase version.
See also setGeodatabaseVersion().
qint64 MapSublayerSource::mapSublayerId () const
Returns the map sublayer id of the map sublayer source.
-1 if an error occurs.
void MapSublayerSource::setGeodatabaseVersion (const QString &geodatabaseVersion )
Sets the geodatabaseVersion to geodatabaseVersion.
See also geodatabaseVersion.