Class DownloadPreplannedOfflineMapJob
A job to download the map area from an online map as part of the preplanned offline workflow.
Namespace: Esri.ArcGISRuntime.Tasks.Offline
Assembly: Esri.ArcGISRuntime.dll
Syntax
public sealed class DownloadPreplannedOfflineMapJob : Job<DownloadPreplannedOfflineMapResult>
Remarks
This job is part of the ahead-of-time offline workflow. Use this job to download the offline map to your device so that you can work offline without a network connection. Note that offline map areas may also be referred to as preplanned map areas.
To make a Download
-
Construct and load the Offline
Map with a web map that is enabled for offline use. For more information about enabling web maps for offline use see Take web maps offline.Task -
If necessary, check the web map's offline capabilities by using Get
Offline .Map Capabilities Async(Generate Offline Map Parameters) -
Select an offline map area from the collection of offline map areas returned by Get
Preplanned .Map Areas Async() -
Obtain the default Download
Preplanned for the offline map area by calling CreateOffline Map Parameters Default .Download Preplanned Offline Map Parameters Async(Preplanned Map Area) - Adjust any parameters, as required.
-
Use the Download
Preplanned to create a DownloadOffline Map Parameters Preplanned by calling DownloadOffline Map Job Preplanned . You must specify a path to a folder where the map content will be stored on the device.Offline Map(Download Preplanned Offline Map Parameters, String)
Start the Download
See the
Properties
Name | Description |
---|---|
Download |
Gets the directory path to the location of the mobile map package. |
Online |
Gets the online map used by this job. |
Parameters | Gets the Download |
Methods
Name | Description |
---|---|
From |
Creates a job from JSON. |
Applies to
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 200.6 |
.NET | 100.13 - 200.6 |
.NET Windows | 100.13 - 200.6 |
.NET Android | 200.0 - 200.6 |
.NET iOS | 200.0 - 200.6 |
.NET Framework | 100.2.1 - 200.6 |
Xamarin.Android | 100.2.1 - 100.15 |
Xamarin.iOS | 100.2.1 - 100.15 |
UWP | 100.2.1 - 200.6 |