Show / Hide Table of Contents

Method CreateDefaultDownloadPreplannedOfflineMapParametersAsync

CreateDefaultDownloadPreplannedOfflineMapParametersAsync(PreplannedMapArea)

Generates default DownloadPreplannedOfflineMapParameters that are specific to the 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
Task<DownloadPreplannedOfflineMapParameters>

DownloadPreplannedOfflineMapParameters created from the specified PreplannedMapArea with default values.

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.8
.NET100.13 - 300.0
.NET Windows100.13 - 300.0
.NET Android200.0 - 300.0
.NET iOS200.0 - 300.0
.NET Framework100.5 - 200.8
Xamarin.Android100.5 - 100.15
Xamarin.iOS100.5 - 100.15
UWP100.5 - 200.8
In this article
Provide feedback
Back to top Copyright © 2025 Esri.