Interface IOfflineMapAreaItem
Represents an offline map area exposed by TemplateSettings. This is the item type used for the list of map areas in the view and should contain all necessary information about a map area to be displayed in the list and interacted with (e.g. downloaded, opened, etc.).
Namespace: Esri.ArcGISRuntime.Toolkit.UI.Controls
Assembly: Esri.ArcGISRuntime.Toolkit.WinUI.dll
Syntax
public interface IOfflineMapAreaItem : INotifyPropertyChanged
Properties
| Name | Description |
|---|---|
| AllowsDownload | Gets a value indicating whether the map area can be downloaded. |
| Description | Gets the description of the offline area |
| DownloadCommand | Gets a command that will attempt to download the map area when executed. |
| DownloadProgress | Gets the current download progress as a value between 0 (nothing downloaded) and 1 (fully downloaded). |
| Error | Gets the error if there was an issue with downloading or opening the map area. |
| IsDownloaded | Gets a value indicating whether the map area has been downloaded. |
| IsDownloading | Gets a value indicating whether the map area has been downloaded. |
| IsOpen | Gets a value indicating whether the map area is currently the selected map. |
| Map | Gets the map associated with this offline map area item. This should be passed as the CommandParameter to the OpenCommand command. |
| OpenCommand | Gets a command that sets the SelectedMap to this instance. The command parameter should be bound to the Map property. |
| RemoveDownloadCommand | Gets a command that will delete the downloaded map area from disk. |
| SizeInBytes | The size of the downloaded area in bytes. |
| StopDownloadCommand | Gets a command that will stop a download in progress. |
| ThumbnailData | Gets the thumbnail image data for the offline area. |
| Title | Gets the Title of the offline area |