Class EstimateTileCacheSizeJob
A job that estimates the size of a tile cache (.tpk or .tpkx) that can be exported from a map or image service.
Namespace: Esri.ArcGISRuntime.Tasks.Offline
Assembly: Esri.ArcGISRuntime.dll
Syntax
public sealed class EstimateTileCacheSizeJob : Job<EstimateTileCacheSizeResult>
Remarks
Use the Estimate
To make an Estimate
-
Confirm that the map or image service can export tiles by checking Export
Tile for the compact version 2 format (.tpkx) and ExportCache Compact V2Allowed Tiles for the legacy format (.tpk).Allowed -
Construct and load the Export
Tile with the map or image service.Cache Task -
Create a Esri.
Arc to define the area of interest that you wish to take offline.GISRuntime. Geometry -
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 EstimateCache Parameters Tile by calling EstimateCache Size Job Tile .Cache Size(Export Tile Cache Parameters)
Start the Estimate
See the Job<T> class for full information on how to work with jobs.
Methods
Name | Description |
---|---|
From |
Creates a job from JSON. |
Applies to
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 200.7 |
.NET | 100.13 - 200.7 |
.NET Windows | 100.13 - 200.7 |
.NET Android | 200.0 - 200.7 |
.NET iOS | 200.0 - 200.7 |
.NET Framework | 100.0 - 200.7 |
Xamarin.Android | 100.0 - 100.15 |
Xamarin.iOS | 100.0 - 100.15 |
UWP | 100.0 - 200.7 |