OnlineOnlyServicesOption enum

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

Inheritance

Constructors

OnlineOnlyServicesOption()
const

Values

exclude → const OnlineOnlyServicesOption

Online layers and tables that cannot be taken offline will be excluded when taking a map offline.

include → const OnlineOnlyServicesOption

Online layers and tables that cannot be taken offline will be included when taking a map offline and will continue to reference the online service.

useAuthoredSettings → const OnlineOnlyServicesOption

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 that 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 be to omit any online only layers or tables from the offline map. This matches the OnlineOnlyServicesOption.exclude option.

Properties

coreValue int
no setter
hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

values → const List<OnlineOnlyServicesOption>
A constant List of the values in this enum, in order of their declaration.