TileKey class
Key of a data source tile.
Note: This is a beta release of this feature, so there could be a few bugs and unexpected behavior. Related APIs may change for new releases without a deprecation process.
Constructors
- TileKey(int x, int y, int level)
- Creates a new instance.
Properties
- hashCode → int
-
The hash code for this object.
no setter
- level ↔ int
-
Level of the tile. Supported range [0, 31].
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- x ↔ int
-
X coordinate of the tile. This ranges from 0 to 2^level − 1.
getter/setter pair
- y ↔ int
-
Y coordinate of the tile. This ranges from 0 to 2^level − 1.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool - The equality operator.