offline

Use if working with offline maps.

Referenced by: applicationProperties

Properties

Property Details
connectedOnlineLayers[] List of layers which should be included in an offline map as connected online layers.
editableLayers Object detailing the available offline editing options.
offlinebasemap Object detailing offline basemap options.
readonlyLayers Object indicating what to do with attachments in read-only layers.
syncDataOptions An integer value that corresponds to syncDataOptions for Create Replica. This value determines what additional capabilities will be included when going offline for a feature layer (e.g. contingent values, annotation) that are not included by default. This value applies to all feature layers in the webmap, however if the requested capability is not supported or present in the feature layer it will be ignored.

offline Example

{
  "syncDataOptions": 144,
  "editableLayers": {
    "download": "featuresAndAttachments",
    "sync": "syncFeaturesAndAttachments"
  },
  "offlinebasemap": {
    "referenceBasemapName": "LocalBasemap.tpk"
  },
  "readonlyLayers": {
    "downloadAttachments": true
  }
}

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.