Now I see what you're talking about.

The problem isn't in the API or anything to do with regular polylines,
but in the projection (World Mercator) that Google uses to display a
round world on a flat map. This is a universal problem, one that can't
be handled with a straight polyline drawn across the globe. There is
an option called "geodesic" that will solve that problem but it
consumes a lot of points to draw it. The other alternative is to
calculate relevant points along the polyline, enough to get it to do
what you want and use that instead of the geodesic option.

If this isn't clear enough, I suggest doing a little research on
mapping projections. They are a curious animal and are generally poor
at showing large swaths of the earth in any sort of accurate detail.
World Mercator is a good choice for flat tile based maps though, as
longitude and latitude lines are parallel using this projection.

-John Coryat

http://maps.huge.info

http://www.usnaviguide.com
--~--~---------~--~----~------------~-------~--~----~
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