2) My preferred way to deal with that is to map your whole image onto a
small part of the Earth, e.g. one square degree, and set the zoom
accordingly. If you do that, then the user would have to drag the map
180 times the width of your whole image to go once round the Earth. And
also you get less distortion from using the Mercator projection.
That's how microtyp.org do it. Their map opens at zoom level 12, and the
min zoom level is 10. So their markers will still wrap, but the user has
to drag the map 2^9 times further (pixels) to go right round the Earth
at zoom level 10 than she does at zoom level 1.
Alternatively, I think you can set the {unbounded:true} flag on any
GLatLngs that you want to not wrap, but I'm not certain that always
works.
--
Mike Williams
http://econym.org.uk/gmap
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---