returnSchemaOnlyForEditableLayers property

bool returnSchemaOnlyForEditableLayers

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.

If FALSE, this setting means that existing features should be included when taking data offline for an editing workflow.

This value can be used to set a default for GenerateOfflineMapParameters.returnSchemaOnlyForEditableLayers.

Alternatively, using OfflineMapTask.createDefaultGenerateOfflineMapParameters will pre-populate the parameters using this property.

Implementation

bool get returnSchemaOnlyForEditableLayers {
  return _withThrowingErrorHandler((errorHandler) {
    return runtimecore
        .RT_OfflineSettings_getReturnSchemaOnlyForEditableLayers(
            _handle, errorHandler);
  });
}