Class ExportTileCacheTask
A task used to export a tile cache (.tpk or .tpkx). Use this in conjunction with a map or image service to generate and download tile packages.
Inheritance
Implements
Namespace: Esri.ArcGISRuntime.Tasks.Offline
Assembly: Esri.ArcGISRuntime.dll
Syntax
public sealed class ExportTileCacheTask : IApiKeyResource
Remarks
To confirm whether a map or image service supports exporting tiles, check:
-
Export
Tiles property for the legacy compact format (.tpk).Allowed -
Export
Tile property for the compact version 2 format (.tpkx).Cache Compact V2Allowed
See Tile
When using Esri provided image basemaps (such as the World Imagery basemap,
Arc
Similarly, when using elevation data from Esri (such as Terrain 3D), an
alternative service
that supports exporting tiles may be used instead. For example, the
(Terrain 3D)
will be exported using a corresponding
(export-enabled service).
The resulting tile cache can then be used to create an offline Arc
Note that these export-enabled services are not intended for use as an online basemap or elevation source,and should only be used for exporting tiles for offline use. The export enabled services require authentication to export tiles.
Properties
Name | Description |
---|---|
Api |
Gets or sets the API key that allows your app to access ArcGIS location services and private portal items. |
Service |
Gets the ArcGISMapServiceInfo object associated with this task. |
Uri | Gets the map service Uri associated with this task. |
Methods
Name | Description |
---|---|
Create |
Creates an export tile cache task from a map or image service URI. |
Create |
Creates an export tile cache task from a map or image service URI. |
Create |
Creates and returns new Export |
Estimate |
Starts and returns a new estimate tile cache size job. |
Export |
Start and return a new export tile cache job. |
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 |