OfflineSettings

Represents settings in an online web map which the author has configured for offline use. Offline settings can be configured by a web map author to provide default values which are appropriate for taking a map offline. Applications which take the map offline can choose to ignore these offline settings when setting parameters for an OfflineMapTask.

Note: the following methods will use the offline settings to set default parameter values:

  • OfflineMapTask.createDefaultDownloadPreplannedOfflineMapParameters(PreplannedMapArea)

  • OfflineMapTask.createDefaultGenerateOfflineMapParameters(Geometry)

  • OfflineMapTask.createDefaultGenerateOfflineMapParameters(Geometry, Double, Double)

  • OfflineMapTask.createGenerateOfflineMapParameterOverrides(GenerateOfflineMapParameters)

Since

200.1.0

Properties

Link copied to clipboard

A setting configured by the web map author that provides guidance for how attachments should be synced when working offline. If this setting is AttachmentSyncDirection.None, then attachments should never be uploaded or downloaded when performing a sync operation.

Link copied to clipboard

List of layers that the web map author determined will remain online when the map is taken offline. Layers may be selected to remain online because they do not support being taken offline or to provide live contextual information such as traffic or weather.

Link copied to clipboard

List of non-spatial tables that the web map author determined will remain online when the map is taken offline. Tables may be selected to remain online because they do not support being taken offline or to provide live contextual information such as traffic or weather.

Link copied to clipboard

The name of a local basemap file which can be used instead of downloading a basemap when taking this map offline. Supported basemap formats are:

Link copied to clipboard

A setting configured by the web map author that indicates which feature layers should include attachments when taken offline. Based on the value of this setting, attachments should be included with:

Link copied to clipboard

A setting configured by the web map author that indicates whether or not feature layers taken offline should be schema only and contain no data. If TRUE, this setting means that feature layers should be taken offline with no existing data in them.