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
Target | Versions |
---|---|
.NET Standard 2.0 | 100.5 - 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.5 - 200.6 |
Xamarin.Android | 100.5 - 100.15 |
Xamarin.iOS | 100.5 - 100.15 |
UWP | 100.5 - 200.6 |