GMercatorProjection [class]-GoogleMaps/API/doc/ClassReference/33-GMercatorProjection-N☆E 学習帳

[ リロード ]   [ ソース ]  [ トップ | 一覧 | 単語検索 | 最新 | バックアップ | ヘルプ ]

Counter: 2885, today: 2, yesterday: 0

GMercatorProjection [class]

http://www.google.com/apis/maps/docu­mentation/

Version 2 (2006.4) 新規

This implementation of the GProjection interface for the mercator projection is used by all predefined map types.

Constructor

Constructor Description
GMercatorProjection(zoomlevels) Creates a mercator projection for the given number of zoom levels.

 

Methods

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)