;

DownloadPreplannedOfflineMapResult Class

  • DownloadPreplannedOfflineMapResult
  • class Esri::ArcGISRuntime::DownloadPreplannedOfflineMapResult

    The result of a DownloadPreplannedOfflineMapJob. More...

    Header: #include <DownloadPreplannedOfflineMapResult>
    Since: Esri::ArcGISRuntime 100.2
    Inherits: Esri::ArcGISRuntime::Object

    This class was introduced in Esri::ArcGISRuntime 100.2.

    Public Functions

    virtual ~DownloadPreplannedOfflineMapResult() 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

    When the job completes it returns the offline map and indicates whether any errors occurred during the download process (hasErrors). Examine the individual layer and table errors to identify the source of the problem. Possible error conditions include the loss of the online service, a layer or table may not be taken offline, or exporting tiles is not enabled on the layer.

    Member Function Documentation

    [override virtual] DownloadPreplannedOfflineMapResult::~DownloadPreplannedOfflineMapResult()

    Destructor.

    bool DownloadPreplannedOfflineMapResult::hasErrors() const

    Returns whether there is at least one layer or table that could not be taken offline.

    To determine which layers or tables could not be taken offline, examine the layerErrors and the tableErrors, respectively.

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

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

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

    Returns the mobile map package containing the offline map.

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

    Returns the offline map containing the requested preplanned map area.

    An offline Map that is downloaded from the preplanned map area of an online map using the DownloadPreplannedOfflineMapJob contains layers that will only reference offline layers and tables so that the map can be accessed without network connectivity.

    QMap<Esri::ArcGISRuntime::FeatureTable *, Esri::ArcGISRuntime::Error> DownloadPreplannedOfflineMapResult::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.