MapSublayerSource Class

  • MapSublayerSource
  • class Esri::ArcGISRuntime::MapSublayerSource

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

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

    This class was introduced in Esri::ArcGISRuntime 100.1.

    Public Functions

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

    Detailed Description

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

    [override virtual] 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().

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

    You can no longer sign into this site. Go to your ArcGIS portal or the ArcGIS Location Platform dashboard to perform management tasks.

    Your ArcGIS portal

    Create, manage, and access API keys and OAuth 2.0 developer credentials, hosted layers, and data services.

    Your ArcGIS Location Platform dashboard

    Manage billing, monitor service usage, and access additional resources.

    Learn more about these changes in the What's new in Esri Developers June 2024 blog post.

    Close