|
ArcGIS Runtime SDK for iOS
100.9
|
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 AGSOfflineMapTask.
The following methods will use the offline settings to set default parameter values:
defaultDownloadPreplannedOfflineMapParametersWithArea:completion: (AGSOfflineMapTask) defaultGenerateOfflineMapParametersWithAreaOfInterest:completion: (AGSOfflineMapTask) defaultGenerateOfflineMapParametersWithAreaOfInterest:minScale:maxScale:completion: (AGSOfflineMapTask)
Properties | |
| AGSAttachmentSyncDirection | attachmentSyncDirection |
| NSString * | referenceBasemapFilename |
| AGSReturnLayerAttachmentOption | returnLayerAttachmentOption |
| BOOL | returnSchemaOnlyForEditableLayers |
|
readnonatomicassign |
A setting configured by the web map author that provides guidance for how attachments should be synced when working offline.
AGSAttachmentSyncDirectionNone, then attachements should never be uploaded or downloaded when performing a sync operation.AGSAttachmentSyncDirectionUpload, then attachments should be uploaded when performing sync.AGSAttachmentSyncDirectionBidirectional, then attachments should be uploaded and downloaded when performing sync.This value can be used to set a default for AGSGenerateOfflineMapParameters::attachmentSyncDirection. Alternatively, using AGSOfflineMapTask::createDefaultGenerateOfflineMapParametersWithAreaOfInterest:completion: will pre-populate the parameters using this property.
|
readnonatomiccopy |
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:
|
readnonatomicassign |
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:
AGSReturnLayerAttachmentOptionNone.AGSReturnLayerAttachmentOptionAllLayers.AGSReturnLayerAttachmentOptionReadOnlyLayers.AGSReturnLayerAttachmentOptionEditableLayers.This value can be used to set a default for AGSGenerateOfflineMapParameters::returnLayerAttachmentOption. Alternatively, using AGSOfflineMapTask::createDefaultGenerateOfflineMapParametersWithAreaOfInterest:completion: will pre-populate the parameters using this property.
|
readnonatomicassign |
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.
This value can be used to set a default for AGSGenerateOfflineMapParameters::returnSchemaOnlyForEditableLayers. Alternatively, using AGSOfflineMapTask::createDefaultGenerateOfflineMapParametersWithAreaOfInterest:completion: will pre-populate the parameters using this property.