Click or drag to resize

DownloadPreplannedOfflineMapParametersReferenceBasemapFilename Property

Gets or sets the name of a local basemap file on the device which can be used rather than downloading an online basemap.

Namespace:  Esri.ArcGISRuntime.Tasks.Offline
Assembly:  Esri.ArcGISRuntime (in Esri.ArcGISRuntime.dll) Version: 100.11.0
public string ReferenceBasemapFilename { get; set; }

Property Value

Type: String

This property can be read directly from settings applied by the author of the online webmap ( OfflineSettings) or set by user code to a file known to be on the device.

The local basemap filename must end with .tpk, .tpkx, or .vtpk since these are the supported file formats.

To use the specified local basemap rather than downloading, the ReferenceBasemapDirectory property must also be set.

If the directory does not exist, or does not contain the specified basemap, the DownloadPreplannedOfflineMapJob will fail.

Note that this property is ignored if IncludeBasemap is false.

See Also