TileId class final

The ID of a tile.

canonical_x and canonical_y place the tile in the source's grid at zoom canonical_z. overscaled_z is the zoom that the map draws the tile at, and is greater when the source has no tiles that deep. wrap says which copy of the world holds the tile: zero for the main one, negative to the west, and positive to the east.

See mln_tile_id in the C API reference.

Constructors

TileId({int overscaledZ = 0, int wrap = 0, int canonicalZ = 0, int canonicalX = 0, int canonicalY = 0})
const

Properties

canonicalX → int
final
canonicalY → int
final
canonicalZ → int
final
hashCode → int
The hash code for this object.
no setterinherited
overscaledZ → int
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
wrap → int
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
inherited