Terrain
data class Terrain(val mapBackgroundColor: Int, val tileSize: Float, val rootIndices: RootIndices, val maxZoomLevel: Int, val bitmapTileSource: TileSource<Bitmap>, val tileColorTransformation: TileColorTransformation? = null)
Contains information about the set of tiles for a given map and how to load them.
Constructors
Link copied to clipboard
constructor(mapBackgroundColor: Int, tileSize: Float, rootIndices: RootIndices, maxZoomLevel: Int, bitmapTileSource: TileSource<Bitmap>, tileColorTransformation: TileColorTransformation? = null)
Properties
Link copied to clipboard
Returns the image data for the given tile index.
Link copied to clipboard
The color of the background tiles.
Link copied to clipboard
The maximum zoom level for which tile graphics exist.
Link copied to clipboard
The set of tiles at the lowest zoom level.
Link copied to clipboard
The color map used to modify tile colors, especially for use with night-mode tiles.