A task used to take a map offline.
public sealed class OfflineMapTask
Taking a map offline involves downloading an online map and its data, including all the supported layers, tables, renderers, web map configuration etc. so that it can be used offline without a network connection. There are two workflows available for taking maps offline:
- The preplanned offline workflow.
- The on-demand offline workflow.
Preplanned offline workflow. In this workflow the author of an online map can define individual geographical areas called map areas. These map areas prepare map content that is stored online. An app can download that map content to a device using the DownloadPreplannedOfflineMapJob.
On-demand offline workflow. Here the app passes a specific area of interest to a GenerateOfflineMapJob to generate and download the map content to the device. Using this workflow, you can choose to keep online only services (e.g. those that require a network connection) in your offline map. Be aware that an offline map which uses online only services will require a network connection and may require authentication.
Gets the online Map to be taken offline.
Gets the PortalItem specifying the map to be take offline.
|.NET Standard 2.0||100.3 - 100.14|
|.NET 6.0||100.13 - 100.14|
|.NET 6.0 Windows||100.13 - 100.14|
|.NET Framework||100.1 - 100.14|
|.NET 5||100.10 - 100.12|
|.NET Core 3.1||100.7 - 100.12|
|Xamarin.Android||100.1 - 100.14|
|Xamarin.iOS||100.1 - 100.14|
|UWP||100.1 - 100.14|