Skip To Content ArcGIS for Developers Sign In Dashboard

DownloadPreplannedOfflineMapJob Class

(Esri::ArcGISRuntime::DownloadPreplannedOfflineMapJob)

A job to download the map area from an online map as part of the preplanned offline workflow. More...

Header: #include <DownloadPreplannedOfflineMapJob>
Since: Esri::ArcGISRuntime 100.2
Inherits: Job

Public Functions

~DownloadPreplannedOfflineMapJob()
QString downloadDirectoryPath() const
Map *onlineMap() const
DownloadPreplannedOfflineMapParameters parameters() const
DownloadPreplannedOfflineMapResult *result() const

Additional Inherited Members

Detailed Description

A job to download the map area from an online map as part of the preplanned offline workflow.

Use this job to download the map content of a map area to your device so that you can work offline without a network connection. Upon completion, the job's DownloadPreplannedOfflineMapResult provides the offline map along with the details of any errors incurred during the download process.

An object of this type is created by the function OfflineMapTask::downloadPreplannedOfflineMap.

Member Function Documentation

DownloadPreplannedOfflineMapJob::~DownloadPreplannedOfflineMapJob()

Destructor.

QString DownloadPreplannedOfflineMapJob::downloadDirectoryPath() const

Returns the download folder used by this job to write the mobile map package result.

As the job also returns a mobile map package, the same path can be used to instantiate the MobileMapPackage for later use.

Map *DownloadPreplannedOfflineMapJob::onlineMap() const

Returns the online map used by this job.

DownloadPreplannedOfflineMapParameters DownloadPreplannedOfflineMapJob::parameters() const

Returns the preplanned map parameters used to create this job.

This function was introduced in Esri::ArcGISRuntime 100.4.

DownloadPreplannedOfflineMapResult *DownloadPreplannedOfflineMapJob::result() const

Returns the DownloadPreplannedOfflineMapResult.


Feedback on this topic?