Class GenerateOfflineMapJob
A job that generates and downloads the offline map for a specific area of interest from a web map that is enabled for offline use.
Namespace: Esri.ArcGISRuntime.Tasks.Offline
Assembly: Esri.ArcGISRuntime.dll
Syntax
public sealed class GenerateOfflineMapJob : Job<GenerateOfflineMapResult>
Remarks
This job is part of the on-demand offline workflow. Use this job to generate and download the offline map to your device so that you can work offline without a network connection.
To make a Generate
-
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) - Create a Geometry to define the area of interest that you wish to take offline.
-
Obtain the default Generate
Offline for the area of interest by calling CreateMap Parameters Default .Generate Offline Map Parameters Async(Geometry) -
Use the Generate
Offline to create a GenerateMap Parameters Offline by calling GenerateMap Job Offline . You must specify a path to a folder where the map content will be stored on the device.Map(Generate Offline Map Parameters, String)
Start the Generate
See the
Properties
Name | Description |
---|---|
Download |
Gets the download directory used by this job to write the mobile map package result. |
Online |
Gets the online Map used by this job. |
Parameter |
Gets the Generate |
Parameters | Gets the Generate |
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.1 - 200.6 |
Xamarin.Android | 100.1 - 100.15 |
Xamarin.iOS | 100.1 - 100.15 |
UWP | 100.1 - 200.6 |