Reference · The realistic Earth's pure parts
TileIdtype
One tile of the map pyramid: a level, a column counted east from longitude -180 and a row counted south from latitude 90.
Import it
import type { TileId } from "@johnmorrisdotca/chikyu-earth/realistic";
Definition
interface TileId {
level: number;
col: number;
row: number;
}
Members
| Name | Type | Description |
|---|---|---|
level | number | |
col | number | |
row | number |
Examples
import type { TileId } from "@johnmorrisdotca/chikyu-earth/realistic";
const tile: TileId = { level: 4, col: 17, row: 5 };
console.log(tile);{ level: 4, col: 17, row: 5 }What it prints (run when this page was built)