Property ReferenceBasemapFilename
ReferenceBasemapFilename
Gets or sets the name of a local basemap file on the device that 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 that can be used rather than downloading an online basemap. |
Remarks
If the directory does not exist, or does not contain the specified basemap, the GenerateOfflineMapJob will fail.
The local basemap filename must end with .tpk, .tpkx, or .vtpk since these are the supported file formats. 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.
This property will be populated from online settings when created with CreateDefaultGenerateOfflineMapParametersAsync(Geometry).
To use the specified local basemap rather than downloading, the ReferenceBasemapDirectory property must also be set.
Note that this property is ignored if IncludeBasemap is false
.
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.5 - 200.5 |
.NET | 100.13 - 200.5 |
.NET Windows | 100.13 - 200.5 |
.NET Android | 200.0 - 200.5 |
.NET iOS | 200.0 - 200.5 |
.NET Framework | 100.5 - 200.5 |
Xamarin.Android | 100.5 - 100.15 |
Xamarin.iOS | 100.5 - 100.15 |
UWP | 100.5 - 200.5 |