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.