VectorTileCache

A local cache of vector tiles that can be used to create an ArcGISVectorTiledLayer. Local tile caches are ideal for providing basemaps or less frequently changing contextual layers, where network access is limited or non-existent. You can create and download a vector tile cache onto a device by using an ExportVectorTilesJob, or alternatively you can provision it directly to local storage. Currently the only supported type of cache is the vector tile package (.vtpk). This single file contains all of the tile data files, the source information, a style sheet, and the font and symbol marker resources required to display the map.

You can create an ArcGISVectorTiledLayer from a VectorTileCache and then use it as a basemap or as an operational layer in a map or scene.

Since

200.1.0

Constructors

Link copied to clipboard
constructor(path: String)

Create a vector tile cache with the given path.

Properties

Link copied to clipboard
val path: String?

The path to the on disk source file for this vector tile cache. This path can be empty when the vector tile cache is contained within a MobileMapPackage or MobileScenePackage.

Link copied to clipboard
Link copied to clipboard

Thumbnail.

Inherited properties

Link copied to clipboard
open override val loadStatus: StateFlow<LoadStatus>

The load status.

Inherited functions

Link copied to clipboard
open override fun cancelLoad()

Cancels loading metadata for the Loadable object.

Link copied to clipboard
open suspend override fun load(): Result<Unit>

Loads the metadata for the object.

Link copied to clipboard
open suspend override fun retryLoad(): Result<Unit>

Loads or retries loading metadata for the object.