Builder

class Builder

Constructors

Builder
Link copied to clipboard
open fun Builder()

Functions

build
Link copied to clipboard
open fun build(): CustomGeometrySourceOptions
cancelTileFunction
Link copied to clipboard

The callback that cancels a tile.

open fun cancelTileFunction(cancelTileFunction: CancelTileFunctionCallback): CustomGeometrySourceOptions.Builder
fetchTileFunction
Link copied to clipboard

The callback that provides data for a tile.

open fun fetchTileFunction(fetchTileFunction: FetchTileFunctionCallback): CustomGeometrySourceOptions.Builder
maxZoom
Link copied to clipboard

A maximum zoom level, at which to create vector tiles. A higher maximum zoom level provides greater details at high map zoom levels. The default value is `18`.

open fun maxZoom(maxZoom: Byte): CustomGeometrySourceOptions.Builder
minZoom
Link copied to clipboard

A minimum zoom level, at which to create vector tiles. The default value is `0`.

open fun minZoom(minZoom: Byte): CustomGeometrySourceOptions.Builder
tileOptions
Link copied to clipboard

Tile options.

open fun tileOptions(tileOptions: TileOptions): CustomGeometrySourceOptions.Builder