Click or drag to resize

OnlineOnlyServicesOption Enumeration

Enumerates the possible options for dealing with online-only services (those that cannot be taken offline).

Namespace:  Esri.ArcGISRuntime.Tasks.Offline
Assembly:  Esri.ArcGISRuntime (in Esri.ArcGISRuntime.dll) Version: 100.11.0
Syntax
public enum OnlineOnlyServicesOption
Members
  Member nameValueDescription
Exclude0 Online layers and tables that cannot be taken offline will be excluded when taking a map offline.
Include1 Online layers and tables that cannot be taken offline will be included when taking a map offline and continue to reference the online service.
UseAuthoredSettings2

A given layer or table will be taken offline, included as online content, or excluded according to the settings in the web map.

When a web map is created, the author has the option to pre-select which layers should remain online. This can include:

  • Choosing to leave offline-enabled layers online (for example because they contain data which is frequently updated).
  • Choosing whether online only layers should be included in the offline map or not.

If no settings are provided in the web map, the default behavior will omit any online only layers or tables from the offline map. This matches the Exclude option.

See Also