A job to download the map area from an online map as part of the preplanned offline workflow. More...
|Import Statement:||import Esri.ArcGISRuntime 100.11|
- downloadDirectoryPath : url
- json : jsobject
- onlineMap : Map
- parameters : DownloadPreplannedOfflineMapParameters
- result : DownloadPreplannedOfflineMapResult
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.
Returns the download folder used by this job to write the mobile map package result (read-only).
As the job also returns a mobile map package, the same path can be used to instantiate the MobileMapPackage for later use.
The JSON representation of this object.
This JSON can be used to instantiate the type instance.
onlineMap : Map
Returns the online map used by this job (read-only).
parameters : DownloadPreplannedOfflineMapParameters
Returns the preplanned map parameters used to create this job (read-only).
This property was introduced in Esri.ArcGISRuntime 100.4.
result : DownloadPreplannedOfflineMapResult
Returns the result from the job (read-only).
The result includes any error that may have occurred while taking the map offline.
Emitted when the result property changes.
Note: The corresponding handler is