createGenerateOfflineMapJob

Returns a job that is used to generate an offline map using the specified parameters and overrides. The job that is returned is dormant and needs to be explicitly started. The job will fail if the last directory in the download directory path cannot be created or is not empty.

The GenerateOfflineMapParameterOverrides allows more control over the extracted data.

To create an instance GenerateOfflineMapParameterOverrides use OfflineMapTask.createGenerateOfflineMapParameterOverrides.

Some properties on GenerateOfflineMapParameters will be ignored when using GenerateOfflineMapParameterOverrides and replaced with equivalent properties for each service. The overridden properties are:

Return

a GenerateOfflineMapJob to generate an offline map

Since

200.1.0

Parameters

parameters

the parameters to be used for the generate offline map operation

downloadDirectoryPath

The path to a folder where the map content is stored on the device. For example, to create a new mobile map package my_mobile_map_package in a parent directory my root path/my_mobile_maps, this property would be my root path/my_mobile_maps/my_mobile_map_package.

overrides

the overrides to the parameters