TileKey constructor

TileKey(
  1. int x,
  2. int y,
  3. int level
)

Creates a new instance.

  • x X coordinate of the tile. This ranges from 0 to 2^level − 1.
  • y Y coordinate of the tile. This ranges from 0 to 2^level − 1.
  • level Level of the tile. Supported range [0, 31].

Implementation

TileKey(this.x, this.y, this.level);