So are you suggesting trying to limit my google map to zoom 2 or greater? Or
somehow 'fixing' the map @ zoom 0&1 to prevent panning? Not clear on this...

So was I right that the method described in the API guide doesn’t work at
zoom 0&1?

Thanks,
P.Romero

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Andrew Leach
Sent: 2009-04-04 12:53 PM
To: Google Maps API
Subject: Re: custom overlay alignment fails at zoom lev. 1 using API guide's
example


On Apr 4, 4:51 pm, <[email protected]> wrote:
> Bumping this message.
>
> Can anyone provide some assistance, please?

Not really, but I can tell you what's happening and suggest something.

Zoom 3: your overlay runs from (-22,-147) to (53,-24) approximately
Zoom 2: your overlay runs from (-55,150) to (72,396)
Zoom 1: your overlay runs from (-82,-180) to (86,180)

That's fine, although the value of 396 instead of 36 seems a little
off! At zoom 1, you create the right overlay but the API squishes it
into the zone between -180 and 180, which is no space at all. The same
thing happens with zoom 0. What I don't know is how you force the
overlay to go the long way round the globe: but I guess you could try
limiting the longitude to the range [-179,179] and see if that makes a
difference.

Andrew



--~--~---------~--~----~------------~-------~--~----~
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