createGenerateOfflineMapParameterOverrides

GenerateOfflineMapParameterOverrides created from the specified GenerateOfflineMapParameters parameters. When the task completes the GenerateOfflineMapParameterOverrides will be populated reflecting the values in the GenerateOfflineMapParameters parameters. The overrides may be inspected and modified to change the offline data before passing onto creating a job with OfflineMapTask.generateOfflineMap.

If there are errors with loading individual layers or tables, or they cannot be taken offline due to service settings, the outcome depends on the value of GenerateOfflineMapParameters.continueOnErrors.

If GenerateOfflineMapParameters.continueOnErrors is true, the overrides correspond to the remaining layers and tables that can go offline.

The resulting offline map will not contain the layers or tables which had errors.

If GenerateOfflineMapParameters.continueOnErrors is false, an error is raised from the failed layer or table.

To check upfront which layers or tables are valid for taking offline see OfflineMapTask.getOfflineMapCapabilities.

If GenerateOfflineMapParameters.referenceBasemapDirectory is set, the overrides corresponding to online basemap layers will be omitted, since no basemap layers will be downloaded.

Return

A Result containing GenerateOfflineMapParameterOverrides created from the specified GenerateOfflineMapParameters parameters.

Since

200.1.0

Parameters

parameters

The generate offline map parameters from which the overrides will be populated.