GMap2クラスのgetBoundsメソッドで表示されている領域の情報が取得できるので,返されたGLatLngBoundsクラスのインスタンスに対しgetNorthEastメソッドを呼んでやれば右上の座標が取得できます。こんな感じです。
var point = map.getBounds().getSouthWest();
詳しくはリファレンスを。
http://www.google.com/apis/maps/documentation/reference.html#GMa...
http://www.google.com/apis/maps/documentation/reference.html#GLa...
コメント(0件)