Builder

class Builder

Constructors

Builder
Link copied to clipboard
open fun Builder()

Functions

buffer
Link copied to clipboard
open fun buffer(buffer: Short): TileOptions.Builder
Tile buffer size on each side (measured in 1/512ths of a tile; higher means fewer rendering artifacts near tile edges but slower performance).
build
Link copied to clipboard
open fun build(): TileOptions
clip
Link copied to clipboard
open fun clip(clip: Boolean): TileOptions.Builder
If the data includes geometry outside the tile boundaries, setting this to true clips the geometry to the tile boundaries.
tileSize
Link copied to clipboard
open fun tileSize(tileSize: Short): TileOptions.Builder
Size of the tiles.
tolerance
Link copied to clipboard
open fun tolerance(tolerance: Double): TileOptions.Builder
Douglas-Peucker simplification tolerance (higher means simpler geometries and faster performance).
wrap
Link copied to clipboard
open fun wrap(wrap: Boolean): TileOptions.Builder
If the data includes wrapped coordinates, setting this to true unwraps the coordinates.