-
absolutePixelToLatLon()
-
Converts a pixel location on the whole earth to a lat/long WGS coordinate.
-
getMapSize(zoom)
-
Returns the map size in pixel for the specified level.
Parameters:
Name |
Type |
Description |
zoom |
number
|
a zoom level |
Returns:
-
Type
-
number
-
mercatorToPixelXY()
-
Converts a mercator coordinate to a pixel coordinate within a zoom
level of the map.
-
pixelToLatLon()
-
Converts a screen pixel coordinate with the given center and zoomlevel to
a lat/long WGS coordinate.
-
relativePixelToAbsoluteXY()
-
Computes the left/top pixel coordinate for given x/y Mercator coordinates.
-
tileToQuadKey(x, y, zoom)
-
Returns the quad key for the specified cell and zoom level.
Parameters:
Name |
Type |
Description |
x |
number
|
|
y |
number
|
|
zoom |
number
|
|
Returns:
-
Type
-
String