RasterSource

actual constructor(id: String, uri: String, tileSize: Int)(source)
actual constructor(id: String, tiles: List<String>, options: TileSetOptions, tileSize: Int)(source)
expect constructor(id: String, uri: String, tileSize: Int = 512)(source)

Parameters

id

Unique identifier for this source

uri

URI pointing to a JSON file that conforms to the TileJSON specification

tileSize

width and height (measured in points) of each tiled image in the raster tile source


expect constructor(id: String, tiles: List<String>, options: TileSetOptions = TileSetOptions(), tileSize: Int = SourceDefaults.RASTER_TILE_SIZE)(source)

Parameters

id

Unique identifier for this source

tiles

List of URIs pointing to tile images

options
tileSize

width and height (measured in points) of each tiled image in the raster tile source

actual constructor(id: String, uri: String, tileSize: Int)(source)
actual constructor(id: String, tiles: List<String>, options: TileSetOptions, tileSize: Int)(source)
actual constructor(id: String, uri: String, tileSize: Int)(source)
actual constructor(id: String, tiles: List<String>, options: TileSetOptions, tileSize: Int)(source)
actual constructor(id: String, uri: String, tileSize: Int)(source)
actual constructor(id: String, tiles: List<String>, options: TileSetOptions, tileSize: Int)(source)