Show / Hide Table of Contents

Property IncludeBasemap

IncludeBasemap

Gets or sets a value indicating whether or not a basemap will be included in the offline map.

Declaration
public bool IncludeBasemap { get; set; }
Property Value
Type Description
Boolean

True if the basemap will be included in the offline map; False otherwise.

Remarks

If you do not want a basemap in the offline map then set this property to false. After loading the offline map, your application can programmatically insert a basemap into the map. Note that, a programmatically inserted basemap will not be persisted in the map.

If you want a basemap in the offline map then set this property to true. You can choose to either:

  • Generate and download the online basemap using the GenerateOfflineMapJob. This is the default.
  • Use a local basemap on the device by setting the ReferenceBasemapDirectory.

The default value is true.

This property is superseded if the GenerateOfflineMapParameters is used in conjunction with GenerateOfflineMapParameterOverrides.

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.3 - 100.15
.NET 6.0100.13 - 100.15
.NET 6.0 Windows100.13 - 100.15
.NET Framework100.1 - 100.15
.NET 5100.10 - 100.12
.NET Core 3.1100.7 - 100.12
Xamarin.Android100.1 - 100.15
Xamarin.iOS100.1 - 100.15
UWP100.1 - 100.15
In This Article
Back to top Copyright © 2022 Esri.