createTilesetDescriptor

open fun createTilesetDescriptor(@NonNull tilesetDescriptorOptions: TilesetDescriptorOptions): TilesetDescriptor

Construct a new `tileset descriptor` for the `tile store`. Tileset descriptors are used by the `tile store` to create new offline regions. Resolving the created tileset descriptor includes loading and parsing the style and might include creation or update of a style package - depending on the given options.

Return

A new `tileset descriptor`.

Parameters

tilesetDescriptorOptions

The `tileset descriptor options` to manage.

open fun createTilesetDescriptor(@NonNull tilesetDescriptorOptionsForTilesets: TilesetDescriptorOptionsForTilesets): TilesetDescriptor

An overloaded version that accepts `TilesetDescriptorOptionsForTilesets`. This method is helpful if the required tilesets do not originally belong to a style, e.g. when their corresponding style sources are added using runtime API.

Return

A new `tileset descriptor`.

Parameters

tilesetDescriptorOptionsForTilesets

The `tileset descriptor options` to manage.