Skip To Content ArcGIS for Developers Sign In Dashboard

GenerateOfflineMapJob Class

class Esri::ArcGISRuntime::GenerateOfflineMapJob

A job to generate an offline map from an online map. More...

Header: #include <GenerateOfflineMapJob>
Since: Esri::ArcGISRuntime 100.1
Inherits: Esri::ArcGISRuntime::Job

This class was introduced in Esri::ArcGISRuntime 100.1.

Public Functions

virtual ~GenerateOfflineMapJob() override
QString downloadDirectoryPath() const
Esri::ArcGISRuntime::Map *onlineMap() const
Esri::ArcGISRuntime::GenerateOfflineMapParameterOverrides *parameterOverrides() const
Esri::ArcGISRuntime::GenerateOfflineMapParameters parameters() const
Esri::ArcGISRuntime::GenerateOfflineMapResult *result() const

Detailed Description

An object of this type is created by the function OfflineMapTask::generateOfflineMap().

Member Function Documentation

[override virtual] GenerateOfflineMapJob::~GenerateOfflineMapJob()

Destructor.

QString GenerateOfflineMapJob::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.

Esri::ArcGISRuntime::Map *GenerateOfflineMapJob::onlineMap() const

Returns the online map used by this job.

Esri::ArcGISRuntime::GenerateOfflineMapParameterOverrides *GenerateOfflineMapJob::parameterOverrides() const

Returns the GenerateOfflineMapParameterOverrides used by this job (if set).

Returns nullptr if no overrides are set.

This function was introduced in Esri::ArcGISRuntime 100.4.

Esri::ArcGISRuntime::GenerateOfflineMapParameters GenerateOfflineMapJob::parameters() const

Returns the GenerateOfflineMapParameters used by this job.

Esri::ArcGISRuntime::GenerateOfflineMapResult *GenerateOfflineMapJob::result() const

Returns the GenerateOfflineMapResult.


Feedback on this topic?