|Import Statement:||import Esri.ArcGISRuntime 100.10|
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.
[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.
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.
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).