GenerateOfflineMapResult Class

  • GenerateOfflineMapResult
  • class Esri::ArcGISRuntime::GenerateOfflineMapResult

    The result of a GenerateOfflineMapJob. More...

    Header: #include <GenerateOfflineMapResult.h>
    Since: Esri::ArcGISRuntime 100.1
    Inherits: Esri::ArcGISRuntime::Object

    Public Functions

    virtual ~GenerateOfflineMapResult() override
    bool hasErrors() const
    QMap<Esri::ArcGISRuntime::Layer *, Esri::ArcGISRuntime::Error> layerErrors() const
    Esri::ArcGISRuntime::MobileMapPackage *mobileMapPackage(QObject *parent = nullptr) const
    Esri::ArcGISRuntime::Map *offlineMap(QObject *parent = nullptr) const
    QMap<Esri::ArcGISRuntime::FeatureTable *, Esri::ArcGISRuntime::Error> tableErrors() const

    Detailed Description

    Once the GenerateOfflineMapJob is complete, GenerateOfflineMapResult indicates if there are any errors related to the layers or tables within the map. If the job is successful, offlineMap returns the offline map.

    Relevant samples:

    Member Function Documentation

    [override virtual] GenerateOfflineMapResult::~GenerateOfflineMapResult()

    Destructor.

    bool GenerateOfflineMapResult::hasErrors() const

    Returns true if there is at least one layer or table that could not be taken offline, false otherwise.

    QMap<Esri::ArcGISRuntime::Layer *, Esri::ArcGISRuntime::Error> GenerateOfflineMapResult::layerErrors() const

    Returns any errors associated with layers that could not be taken offline.

    Esri::ArcGISRuntime::MobileMapPackage *GenerateOfflineMapResult::mobileMapPackage(QObject *parent = nullptr) const

    Returns the mobile map package containing the offline map.

    • parent - The object to set as the parent of the returned map. If not provided, the parent will be this GenerateOfflineMapResult object.

    Esri::ArcGISRuntime::Map *GenerateOfflineMapResult::offlineMap(QObject *parent = nullptr) const

    Returns the offline map.

    • parent - The object to set as the parent of the returned map. If not provided, the parent will be this GenerateOfflineMapResult object.

    QMap<Esri::ArcGISRuntime::FeatureTable *, Esri::ArcGISRuntime::Error> GenerateOfflineMapResult::tableErrors() const

    Returns any errors associated with feature tables that could not be taken offline.

    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