MercatorProjection class
Implemented types
Implementers
Properties
hashCode
→ int
The hash code for this object.
no setter inherited
runtimeType
→ Type
A representation of the runtime type of the object.
no setter inherited
scalefactor
→ Scalefactor
no setter
Methods
boundingBoxOfTile (Tile tile )
→ BoundingBox
The bounding box of this tile in lat/lon coordinates
override
boundingBoxOfTiles (Tile upperLeft , Tile lowerRight )
→ BoundingBox
override
latitudeToTileY (double latitude )
→ int
Converts a latitude coordinate (in degrees) to a tile Y number at a certain zoom level.
override
longitudeToTileX (double longitude )
→ int
@param scaleFactor the scale factor for which the size of the world map should be returned.
@return the horizontal and vertical size of the map in pixel at the given scale.
@throws IllegalArgumentException if the given scale factor is < 1
Converts a longitude coordinate (in degrees) to the tile X number at a certain zoom level.
override
noSuchMethod (Invocation invocation )
→ dynamic
Invoked when a nonexistent method or property is accessed.
inherited
tileXToLongitude (int tileX )
→ double
Converts a tile X number at a certain zoom level to a longitude coordinate (left side of the tile).
override
tileYToLatitude (int tileY )
→ double
Converts a tile Y number at a certain zoom level to a latitude coordinate.
override
toString ()
→ String
A string representation of this object.
inherited