TileCoord

data class TileCoord(val z: Int, val x: Int, val y: Int)(source)

Web tile coordinate.

Constructors

Link copied to clipboard
constructor(z: Int, x: Int, y: Int)

Properties

Link copied to clipboard
val x: Int

Tile column.

Link copied to clipboard
val y: Int

Tile row.

Link copied to clipboard
val z: Int

Zoom level.

Functions

Link copied to clipboard
fun toTileId(): Long

Converts this Web tile coordinate to a PMTiles TileID.