On Oct 26, 8:17 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I just googled the solution for this issue,
>
> firstly i should not switch the lat or lng
>
> What can i do is check if the map crossed the IDL,
>
> if true, check if the marker either in range 41.1328125 to 180 or in
> range -180 to -97.38281250000001
>
> Thanks everyone,
>
> Jeru
Instead of using "longitude", use (lon+offset)%360. Choose "offset"
to move transition our of range.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---