Skip to content

Tile

Defined in: source/tile.ts:26

A tile object is the combination of a Coordinate, which defines its place, as well as a unique ID and data tracking for its content

Constructors

Constructor

new Tile(tileID: OverscaledTileID, size: number): Tile

Defined in: source/tile.ts:57

Parameters

Parameter Type Description
tileID OverscaledTileID the tile ID
size number The tile size

Returns

Tile