Skip To Content ArcGIS for Developers Sign In Dashboard

ExportTileCacheParameters QML Type

The parameters for estimating the size of and exporting a tile cache with the ExportTileCacheTask. More...

Import Statement: import Esri.ArcGISRuntime 100.8
Since: Esri.ArcGISRuntime 100.0




Detailed Description

Use ExportTileCacheTask::createDefaultExportTileCacheParameters to generate parameters with the service defaults preset, and then modify these parameters with any desired changes.

This QML type supports the following default properties. A default property may be declared inside another declared object without being assigned explicitly to a property.

TypeDefault Property

Property Documentation

[default] areaOfInterest : Geometry

The geographic area (Polygon or Envelope) for which tiles are needed.

The supported geometry types for the area of interest are Envelope and Polygon. The area of interest must have a spatial reference. Where a Polygon is supplied, tiles will be filtered according to the polygon geometry, which can help reduce the size of the resulting tile package. Note that the filtered set of tiles may vary, depending on the underlying service.

compressionQuality : double

The quality that must be maintained while compressing the tiles.

If the compression quality is not set, NaN is returned.

Compression quality is a value from 0 to 100 or NaN. A lower number reduces the size of the exported tile package, but reduces the quality. This applies to JPEG format tiles. If the value is NaN the service will use its default compression quality. The default compression value for the service is accessible on the services metadata under TileInfo::compressionQuality.

levelIds : list<int>

The level IDs that should be included in the tile cache.

The values should correspond to Level IDs in the service's tiling scheme. You can specify consecutive levels ( for example 1,2,3,4,5) or skip some levels (for example for the ranges 1-3 and 7-9 you would specify 1,2,3,7,8,9).

Signal Documentation


Emitted when the areaOfInterest property of this ExportTileCacheParameters changes.


Emitted when the compressionQuality property of this ExportTileCacheParameters changes.


Emitted when the levelIds property of this ExportTileCacheParameters changes.

Feedback on this topic?