DownloadPreplannedOfflineMapResult Class
The result of a DownloadPreplannedOfflineMapJob. More...
Header: | #include <DownloadPreplannedOfflineMapResult> |
Since: | Esri::ArcGISRuntime 100.2 |
Inherits: | Object |
Public Functions
~DownloadPreplannedOfflineMapResult() | |
bool | hasErrors() const |
QMap<Layer *, Error> | layerErrors() const |
MobileMapPackage * | mobileMapPackage(QObject *parent = nullptr) const |
Map * | offlineMap(QObject *parent = nullptr) const |
QMap<FeatureTable *, Error> | tableErrors() const |
- 31 public functions inherited from QObject
Additional Inherited Members
- 1 property inherited from QObject
- 1 public slot inherited from QObject
- 1 signal inherited from Esri::ArcGISRuntime::Object
- 2 signals inherited from QObject
- 1 public variable inherited from QObject
- 10 static public members inherited from QObject
- 9 protected functions inherited from QObject
- 2 protected variables inherited from QObject
Detailed Description
The result of a DownloadPreplannedOfflineMapJob.
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
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<Layer *, Error> DownloadPreplannedOfflineMapResult::layerErrors() const
Returns any errors associated with layers that could not be taken offline.
MobileMapPackage *DownloadPreplannedOfflineMapResult::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 DownloadPreplannedOfflineMapResult object.
Map *DownloadPreplannedOfflineMapResult::offlineMap(QObject *parent = nullptr) const
Returns the offline map containing the requested preplanned map area.
- parent - The object to set as the parent of the returned map. If not provided, the parent will be this DownloadPreplannedOfflineMapResult object.
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<FeatureTable *, Error> DownloadPreplannedOfflineMapResult::tableErrors() const
Returns any errors associated with feature tables that could not be taken offline.