TileIdConverter class
Convert between tile coordinates and tile IDs. cf. https://wiki.openstreetmap.org/wiki/Slippy_map_tilenames#ECMAScript_(JavaScript/ActionScript,_etc.)
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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.
inherited
Static Methods
-
location2tile(
int zoom, double lat, double lng) → Tuple2< int, int> - Convert tile zoom, latitude, longitude to tile x, y. cf. https://developers.google.com/maps/documentation/javascript/examples/map-coordinates
-
tile2location(
int zoom, double x, double y) → Tuple2< double, double> - Convert tile zoom, x, y to latitude, longitude. cf. https://wiki.openstreetmap.org/wiki/Slippy_map_tilenames#ECMAScript_(JavaScript/ActionScript,_etc.)