Skip to main content

flywave-mapview.tile._constructor_

Home > @flywave/flywave-mapview > Tile > (constructor)

Tile.(constructor)

Creates a new Tile.

Signature:

constructor(dataSource: DataSource, tileKey: TileKey, offset?: number, localTangentSpace?: boolean);

Parameters

Parameter

Type

Description

dataSource

DataSource

The DataSource that created this Tile.

tileKey

TileKey

The unique identifier for this Tile. Currently only up to level 24 is supported, because of the use of the upper bits for the offset.

offset

number

(Optional) The optional offset, this is an integer which represents what multiple of 360 degrees to shift, only useful for flat projections, hence optional.

localTangentSpace

boolean

(Optional) Whether the tile geometry is in local tangent space or not.