Class ExportTileCacheParameters
The parameters that specify how a tile cache (.tpkx) is exported from an ArcGIS map or image service using an ExportTileCacheJob.
Inheritance
Namespace: Esri.ArcGISRuntime.Tasks.Offline
Assembly: Esri.ArcGISRuntime.dll
Syntax
public sealed class ExportTileCacheParameters
Remarks
To generate parameters populated with values from the underlying service, call CreateDefaultExportTileCacheParametersAsync(Geometry, Double, Double). You can then modify these parameters with any desired changes. Alternatively, you can generate an empty set of parameters using ExportTileCacheParameters() and set the parameters individually.
Before you export the tiles you should ensure that your device has sufficient space for the tile cache. Generate an EstimateTileCacheSizeJob by passing the parameters to EstimateTileCacheSize(ExportTileCacheParameters). Run this job to get an estimate of the tile cache size found in the EstimateTileCacheSizeResult.
To export the tile cache, create an ExportTileCacheJob, pass the parameters to the ExportTileCache(ExportTileCacheParameters, String) method, and provide a path where the .tpkx file can be downloaded to on the device.
You can also use the ExportTileCacheParameters to provide more fine-grained control over the tiles that are exported when an offline map is generated. For more information, see the GenerateOfflineMapParameterOverrides class.
Constructors
Name | Description |
---|---|
ExportTileCacheParameters() | Initializes a new instance of the ExportTileCacheParameters class. |
Properties
Name | Description |
---|---|
AreaOfInterest | Gets or sets the area of interest geometry. |
CompressionQuality | Gets or sets the compression quality. If the compression quality is not set, System.Double.NaN is returned. |
LevelIds | Gets a mutable list of levels of detail indices to be included in the exported TileCache. |
See Also
Applies to
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 200.5 |
.NET | 100.13 - 200.5 |
.NET Windows | 100.13 - 200.5 |
.NET Android | 200.0 - 200.5 |
.NET iOS | 200.0 - 200.5 |
.NET Framework | 100.0 - 200.5 |
Xamarin.Android | 100.0 - 100.15 |
Xamarin.iOS | 100.0 - 100.15 |
UWP | 100.0 - 200.5 |