An object that represents the sub layer metadata for a Map service. More...
Header | #include <Map |
Since | Esri |
Inherits | Esri |
Public Functions
Map | |
Map | |
Map | |
Map | |
virtual | ~ |
bool | is |
(since Esri bool | is |
double | max |
double | min |
qint64 | parent |
Esri | service |
Q | sublayer |
Esri | operator=( |
Esri | operator=(const Esri |
Detailed Description
The MapServiceLayerIdInfo class is derived from the IdInfo class.
See also ArcGISMapServiceInfo::layerInfos.
Member Function Documentation
MapServiceLayerIdInfo::MapServiceLayerIdInfo ()
Default constructor. Creates an empty MapServiceLayerIdInfo.
[explicit]
MapServiceLayerIdInfo::MapServiceLayerIdInfo (const Esri::ArcGISRuntime::IdInfo &other)
Converting constructor from other IdInfo.
See also Downcast helper functions.
MapServiceLayerIdInfo::MapServiceLayerIdInfo (const Esri::ArcGISRuntime::MapServiceLayerIdInfo &other)
Copy constructor from other MapServiceLayerIdInfo.
[noexcept]
MapServiceLayerIdInfo::MapServiceLayerIdInfo (Esri::ArcGISRuntime::MapServiceLayerIdInfo &&other)
Move constructor from other MapServiceLayerIdInfo.
[override virtual noexcept]
MapServiceLayerIdInfo::~MapServiceLayerIdInfo ()
Destructor.
bool MapServiceLayerIdInfo::isDefaultVisible () const
Returns whether the sublayer is visible by default.
Will return false
if an error occurs.
[since Esri::ArcGISRuntime 100.2]
bool MapServiceLayerIdInfo::isValid () const
Gets whether this MapServiceLayerIdInfo is valid.
A MapServiceLayerIdInfo is valid if it is not empty and idInfoType
is IdInfoType::MapServiceLayerIdInfo
.
Returns true
if valid.
This function was introduced in Esri::ArcGISRuntime 100.2.
double MapServiceLayerIdInfo::maxScale () const
Returns the sublayer's max scale.
Will return NaN
if an error occurs.
double MapServiceLayerIdInfo::minScale () const
Returns the sublayer's min scale.
Will return NaN
if an error occurs.
qint64 MapServiceLayerIdInfo::parentLayerId () const
Returns the sublayer's parent ID.
Will return -1 if an error occurs or if the sublayer has no parent.
Esri::ArcGISRuntime::ArcGISMapServiceSublayerType MapServiceLayerIdInfo::serviceType () const
Returns the type of data held in the layer on the service.
QList <qint64> MapServiceLayerIdInfo::sublayerIds () const
Returns a list of sublayer IDs for this sublayer.
See also QList.
[noexcept]
Esri::ArcGISRuntime::MapServiceLayerIdInfo &MapServiceLayerIdInfo::operator=(Esri::ArcGISRuntime::MapServiceLayerIdInfo &&other)
Move operator from other MapServiceLayerIdInfo.
Esri::ArcGISRuntime::MapServiceLayerIdInfo &MapServiceLayerIdInfo::operator=(const Esri::ArcGISRuntime::MapServiceLayerIdInfo &other)
Assignment operator from other MapServiceLayerIdInfo.