sg

Çarşamba, Aralık 14, 2005

Re: how to define a viewport by lat/lon edges


Wasn't it archinf@archinform.de who wrote:
>
>hi,
>
>in the Google Maps documentation I found only ways to define a viewport
>by center and zoom level.
>
>But I need a way to define a viewport by bounding box (min lat/lon max
>lat/lon).
>Is there a way to do that?

If you mean that you want to select the zoom level so that your viewport
contains a specified bounded region, you can use
map.spec.getLowestZoomLevel(point,size,viewsize)
See
http://mapki.com/index.php?title=Undocumented_Features

--
The Blackpool Community Church API Tutorial
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