Show / Hide Table of Contents

Class ExportTileCacheParameters

The parameters that specify how a tile cache (.tpkx) is exported from an ArcGIS map or image service using an ExportTileCacheJob.

Inheritance
System.Object
ExportTileCacheParameters
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
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

ExportTileCacheJob

Applies to

TargetVersions
.NET Standard 2.0100.3 - 200.7
.NET100.13 - 200.7
.NET Windows100.13 - 200.7
.NET Android200.0 - 200.7
.NET iOS200.0 - 200.7
.NET Framework100.0 - 200.7
Xamarin.Android100.0 - 100.15
Xamarin.iOS100.0 - 100.15
UWP100.0 - 200.7

Relevant samples

Export tiles: Download tiles to a local tile cache file stored on the device.
In This Article
Back to top Copyright © 2022 Esri.