On 8 Feb., 16:45, Rossko <[email protected]> wrote:
> > is there a way to find out, if the whole surface of the earth is
> > visible in a google map?
>
> The map provides getBounds() methods.

To the best of my knowledge (and experiments I made) this gives me the
corners of the rectange currently shown. Critical are only longitudes,
since the duplication of map elements happens only in longitude
direction. For example I should get -74.0 from the SW corner if the
west border of the map intersects New York City and 2.21 from the NE
corner if the east border intersects Paris.

But cases I intend to detect are more like zoom situations in which,
for example, the whole american continent is visible in the west, then
going east the whole of Africa, Europa, Asia and Australia is visible
and then in the rightmost area of the visible map America appears
again.

If I enlarge a map by enlarging the browser window I noticed that at
some point the west and the east coordinate returned by getBounds()
swap, while in fact the west corner of the visible map did not change
at all but its east border has been expanded to reach a point shown in
the west again.

> Bear in mind that standard Google tiles do not cover the whole earth
> (polar areas missing)

Ok, I see. But that is not relevant in the context I intend to use it.

Florian

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps API" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-maps-api?hl=en.

Reply via email to