sg

Perşembe, Kasım 24, 2005

Re: Width of each tile


All tiles are 256*256 pixels.

To translate that into geography, you need to divide by
map.spec.pixelsPerLonDegree=[map.getZoomLevel()]

E.g.
var tileWidth = 256/map.spec.pixelsPerLonDegree=[map.getZoomLevel()];
will give you the width of each tile in longitude degrees.

The height of a tile in latitude degrees varies depending on the
location.
--
The Blackpool Community Church Javascript Team
http://www.econym.demon.co.uk/googlemaps/

0 Comments:

Yorum Gönder

<< Home


Komik Videolar   islam  şarkı sözleri  yemek tarifleri  gelibolu  huzur   sağlık