Show / Hide Table of Contents

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
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
TargetVersions
.NET Standard 2.0100.5 - 200.1
.NET 6.0100.13 - 200.1
.NET 6.0 Windows100.13 - 200.1
.NET 6.0 Android200.0 - 200.1
.NET 6.0 iOS200.0 - 200.1
.NET Framework100.5 - 200.1
.NET 5100.10 - 100.12
.NET Core 3.1100.7 - 100.12
Android100.5 - 100.15
iOS100.5 - 100.15
UWP100.5 - 200.1
In This Article
Back to top Copyright © 2022 Esri.