MobileBasemapLayer Class

  • MobileBasemapLayer
  • class Esri::ArcGISRuntime::MobileBasemapLayer

    A layer that can display the basemap layer of a map from mobile map package. More...

    Header: #include <MobileBasemapLayer.h>
    Since: Esri::ArcGISRuntime 100.0
    Inherits: Esri::ArcGISRuntime::Layer

    Public Functions

    virtual ~MobileBasemapLayer() override
    QString path() const
    QList<qint64> subLayerIds() const

    Detailed Description

    A MobileBasemapLayer represents a layer that can visualize feature data in a vector basemap of a mobile map package (.mmpk file). It represents multiple feature layers from a geodatabase which are rendered together in a group to form a vector basemap.

    A mobile basemap layer can render feature, tiled, vector tiled, and raster data together in a group as a single basemap layer. This layer abstracts the complexity of multiple layers into one simple-to-use layer.

    You can create a basemap layer using ArcGIS Pro and package it, along with its map, into a mobile map package (.mmpk) for use offline. Each package may contain one or more maps, each of which can contain a basemap with basemap layers.

    If a basemap layer contains features, they will be stored in a compressed format that can be displayed quickly along with any associated labels. This compressed format does not support feature selection, query, identify, or time.

    See sample: OpenStreetMap layer

    Member Function Documentation

    [override virtual] MobileBasemapLayer::~MobileBasemapLayer()

    Destructor.

    QString MobileBasemapLayer::path() const

    Gets the path of the mobile map package (.mmpk file).

    QList<qint64> MobileBasemapLayer::subLayerIds() const

    Gets the list of IDs of this layer's sublayers.

    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