Documentation / @interstellar-tools/maps / TileInterface
Interface: TileInterface
Defined in: tiles/tile.ts:11
A web map tile, in the scheme web maps use ("slippy maps", XYZ): at zoom z the spherical Web Mercator map is cut into
xcounts columns east from 180° W, andycounts rows south from the top edge, at about 85.0511° N. Both are integers in. - This is the XYZ order of OpenStreetMap and most web maps. TMS counts rows north from the bottom instead:
.
Properties
x
ts
x: number;Defined in: tiles/tile.ts:13
Column, east from 180° W (an integer in [0, 2^z)).
y
ts
y: number;Defined in: tiles/tile.ts:15
Row, south from the top edge of the map (an integer in [0, 2^z)).
z
ts
z: number;Defined in: tiles/tile.ts:17
Zoom level (an integer in [0, 30]).