Class ExportTileCacheJob
A job that exports a tile cache (.tpk or .tpkx) from a map or image service.
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 ExportTileCacheJob : Job<TileCache>
Remarks
To make an Export
-
Confirm that the map or image service can export tiles by checking Export
Tiles for the legacy format and ExportAllowed Tile property for the compact version 2 format (.tpkx).Cache Compact V2Allowed -
Construct and load the Export
Tile with the map or image service.Cache Task - Create a Geometry to define the area of interest that you wish to take offline.
-
Obtain the default Export
Tile by calling CreateCache Parameters Default with the area of interest and a minimum and maximum scale for the tile cache.Export Tile Cache Parameters Async(Geometry, Double, Double) -
Use the Export
Tile to create an ExportCache Parameters Tile by calling ExportCache Job Tile . You must specify a path to a folder where the tile cache will be stored on the device.Cache(Export Tile Cache Parameters, String)
Start the Export
See the
Methods
Name | Description |
---|---|
From |
Creates a job from JSON. |
Applies to
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 200.6 |
.NET | 100.13 - 200.6 |
.NET Windows | 100.13 - 200.6 |
.NET Android | 200.0 - 200.6 |
.NET iOS | 200.0 - 200.6 |
.NET Framework | 100.0 - 200.6 |
Xamarin.Android | 100.0 - 100.15 |
Xamarin.iOS | 100.0 - 100.15 |
UWP | 100.0 - 200.6 |
Relevant samples
Export tiles: Download tiles to a local tile cache file stored on the device.