returnLayerAttachmentOption property
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:
- None of the layers when the value is ReturnLayerAttachmentOption.none
- All of the layers when the value is ReturnLayerAttachmentOption.allLayers
- Read only layers when the value is ReturnLayerAttachmentOption.readOnlyLayers
- Editable layers when the value is ReturnLayerAttachmentOption.editableLayers
This value can be used to set a default for GenerateOfflineMapParameters.returnLayerAttachmentOption. Alternatively, using OfflineMapTask.createDefaultGenerateOfflineMapParameters will pre-populate the parameters using this property.
Implementation
ReturnLayerAttachmentOption get returnLayerAttachmentOption {
final coreValue = _withThrowingErrorHandler((errorHandler) {
return runtimecore.RT_OfflineSettings_getReturnLayerAttachmentOption(
_handle, errorHandler);
});
return ReturnLayerAttachmentOption._fromCoreValue(coreValue);
}