Package-level declarations

Types

Link copied to clipboard
data class RootIndices(val topLeft: TileIndex, val width: Int, val height: Int)

The set of tiles at the lowest zoom level.

Link copied to clipboard
data class Tile<T : Any>(val color: T? = null, val reflection: T? = null, val normal: T? = null, val lighting: T? = null)
Link copied to clipboard
data class TileIndex(val zoom: Int, val column: Int, val row: Int)

Represents the index of a square tile on a map

Link copied to clipboard
interface TileSource<T : Any> : Function1<TileIndex, Tile<T>>

A class which takes in a function for returning a tile image (in the form of a Result) for a given TileIndex