returnLayerAttachmentOption property

ReturnLayerAttachmentOption returnLayerAttachmentOption

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:

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,
  );
}