MapServiceLayerIdInfo Class

  • MapServiceLayerIdInfo
  • class Esri::ArcGISRuntime::MapServiceLayerIdInfo

    An object that represents the sub layer metadata for a Map service. More...

    Header: #include <MapServiceLayerIdInfo.h>
    Since: Esri::ArcGISRuntime 100.0
    Inherits: Esri::ArcGISRuntime::IdInfo

    Public Functions

    MapServiceLayerIdInfo()
    MapServiceLayerIdInfo(const Esri::ArcGISRuntime::MapServiceLayerIdInfo &other)
    MapServiceLayerIdInfo(Esri::ArcGISRuntime::MapServiceLayerIdInfo &&other)
    MapServiceLayerIdInfo(const Esri::ArcGISRuntime::IdInfo &other)
    virtual ~MapServiceLayerIdInfo() override
    bool isDefaultVisible() const
    bool isValid() const
    double maxScale() const
    double minScale() const
    qint64 parentLayerId() const
    Esri::ArcGISRuntime::ArcGISMapServiceSublayerType serviceType() const
    QList<qint64> sublayerIds() const
    Esri::ArcGISRuntime::MapServiceLayerIdInfo &operator=(const Esri::ArcGISRuntime::MapServiceLayerIdInfo &other)
    Esri::ArcGISRuntime::MapServiceLayerIdInfo &operator=(Esri::ArcGISRuntime::MapServiceLayerIdInfo &&other)

    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.

    MapServiceLayerIdInfo::MapServiceLayerIdInfo(const Esri::ArcGISRuntime::MapServiceLayerIdInfo &other)

    Copy constructor from other MapServiceLayerIdInfo.

    MapServiceLayerIdInfo::MapServiceLayerIdInfo(Esri::ArcGISRuntime::MapServiceLayerIdInfo &&other)

    Move constructor from other MapServiceLayerIdInfo.

    [explicit] MapServiceLayerIdInfo::MapServiceLayerIdInfo(const Esri::ArcGISRuntime::IdInfo &other)

    Converting constructor from other IdInfo.

    See also Downcast helper functions.

    [override virtual] MapServiceLayerIdInfo::~MapServiceLayerIdInfo()

    Destructor.

    bool MapServiceLayerIdInfo::isDefaultVisible() const

    Returns whether the sublayer is visible by default.

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

    double MapServiceLayerIdInfo::minScale() const

    Returns the sublayer's min scale.

    qint64 MapServiceLayerIdInfo::parentLayerId() const

    Returns the sublayer's parent ID.

    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.

    Esri::ArcGISRuntime::MapServiceLayerIdInfo &MapServiceLayerIdInfo::operator=(const Esri::ArcGISRuntime::MapServiceLayerIdInfo &other)

    Assignment operator from other MapServiceLayerIdInfo.

    Esri::ArcGISRuntime::MapServiceLayerIdInfo &MapServiceLayerIdInfo::operator=(Esri::ArcGISRuntime::MapServiceLayerIdInfo &&other)

    Move operator from other MapServiceLayerIdInfo.

    Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.