ExportTileCacheParameters class final
The parameters that specify how a tile cache (.tpkx) is exported from an ArcGIS map or image service using an ExportTileCacheJob.
To generate parameters populated with values from the underlying service, call ExportTileCacheTask.createDefaultExportTileCacheParameters. You can then modify these parameters with any desired changes. Alternatively, you can generate an empty set of parameters using ExportTileCacheParameters.new 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 ExportTileCacheTask.estimateTileCacheSize. Run this job to obtain an estimate of the tile cache size found in the EstimateTileCacheSizeResult.
To export the tile cache, create an ExportTileCacheJob, pass the parameters to the ExportTileCacheTask.exportTileCache 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.
- Implemented types
Constructors
- ExportTileCacheParameters()
-
Creates a new export tile cache parameters instance.
factory
Properties
- areaOfInterest ↔ Geometry?
-
Area of interest geometry. May be set to null to specify retrieval of the
full tile cache extent.
getter/setter pair
- compressionQuality ↔ double
-
The compression quality.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
-
levelIds
→ List<
int> -
Level IDs.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
clone(
) → ExportTileCacheParameters - Clones the ExportTileCacheParameters.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited