http://www.google.com/apis/maps/documentation/
This implementation of the GProjection interface for the mercator projection is used by all predefined map types.
Constructor | Description |
---|---|
GMercatorProjection(zoomlevels) | Creates a mercator projection for the given number of zoom levels. |
Methods | Return Value | Description |
---|---|---|
fromLatLngToPixel(latlng, zoom) | GPoint | See GProjection. |
fromPixelToLatLng(pixel, zoom, unbounded?) | GLatLng | See GProjection. |
checkTileRange(tile, zoom, tilesize) | none | See GProjection. |
getWrapWidth(zoom) | none | See GProjection. Mercator projection is periodic in longitude direction, therefore this returns the width of the map of the entire Earth in pixels at the given zoom level. (Since 2.46) |