GoogleMaps/API/doc/ClassReference/33-GMercatorProjection の変更点-N☆E 学習帳

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


// author:1
*GMercatorProjection [class]
http://www.google.com/apis/maps/documentation/
**Version 2 (2006.4) &font(Red){新規};
>This implementation of the GProjection interface for the mercator projection is used by all predefined map types.

***Constructor
|TLEFT:97%||c
|Constructor|Description|h
|GMercatorProjection(zoomlevels)|Creates a mercator projection for the given number of zoom levels.|
 
***Methods
|TLEFT:97%||c
|Methods|Return Value|Description|h
|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)|