Show / Hide Table of Contents

Method CreateDefaultDownloadPreplannedOfflineMapParametersAsync

CreateDefaultDownloadPreplannedOfflineMapParametersAsync(PreplannedMapArea)

Returns a System.Threading.Tasks.Task<TResult> created from the specified PreplannedMapArea.

Declaration
public Task<DownloadPreplannedOfflineMapParameters> CreateDefaultDownloadPreplannedOfflineMapParametersAsync(PreplannedMapArea preplannedMapArea)
Parameters
Type Name Description
PreplannedMapArea preplannedMapArea

The preplanned region of the online map that is to be taken offline.

Returns
Type Description
System.Threading.Tasks.Task<DownloadPreplannedOfflineMapParameters>

A task that represents the asynchronous creation of default download offline map parameters. The value of the task result is a DownloadPreplannedOfflineMapParameters object.

Remarks

A convenience method to create DownloadPreplannedOfflineMapParameters with default values appropriate for taking the specified map area offline. The parameters will be populated using the values in the online map's OfflineSettings (if present). If the webmap author has set a reference basemap filename, this will be set in the ReferenceBasemapFilename property.

Exceptions
Type Condition
PackagingNotCompleteException

Packaging of the map area is not complete and is not ready for download.

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.5 - 200.7
.NET100.13 - 200.7
.NET Windows100.13 - 200.7
.NET Android200.0 - 200.7
.NET iOS200.0 - 200.7
.NET Framework100.5 - 200.7
Xamarin.Android100.5 - 100.15
Xamarin.iOS100.5 - 100.15
UWP100.5 - 200.7
In This Article
Back to top Copyright © 2022 Esri.