createExportTileCacheJob

Return a new export tile cache job. The resulting job will export tiles from the service, which is referenced by the ExportTileCacheTask.url property (or its export-enabled alternative), to a local tile cache at the downloadFilePath. The format of the tile cache is determined by the file extension supplied in the downloadFilePath parameter.

If the download file path ends with ".tpk", the tile cache will use the legacy compact format.

If the download file path ends with ".tpkx", the tile cache will use the current compact version 2 format.

If the service does not support exporting tiles, the job will fail with ErrorType.MappingTileExportNotEnabled.

If a .tpkx format was requested, but the format is not supported by the service, the job will fail with ErrorType.MappingTileCacheCompactV2ExportNotEnabled.

Return

A new ExportTileCacheJob.

Since

200.1.0