Property ReferenceBasemapFilename
ReferenceBasemapFilename
Gets or sets the name of a local basemap file on the device which can be used rather than downloading an online basemap.
Declaration
public string ReferenceBasemapFilename { get; set; }
Property Value
Type | Description |
---|---|
System.String | The name of a local basemap file on the device which can be used rather than downloading an online basemap. |
Remarks
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
.
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 |