Maybe I did something wrong, but when I set geodesic to true, I got (globe) rounded lines, rather than plane-straight lines. Especially on a high zoomlevel (<5).
I'm probably going to try to take the approach to break up a line depending on zoomlevel or something. Or maybe stop caring about such lines... On 1 sep, 22:49, Rossko <[EMAIL PROTECTED]> wrote: > > ... For me, this time, it's > > important that the line remains straight, not bend with the earth. > > That'll be a problem, the G-Maps API is all geared to representing the > Earth's surface where there's no such thing as a straight line. You > may have to do your own calculations for a straight line overlaid on > the distorted map. > > You might be able to minimise the apparent error by segmenting the > straight line say every 500km, but I think you'd have some > 'interesting' calculations to do there to keep it appearing straight > though! > > > It would make more sense to me that a line that > > has, say, Moscow left of a GPolyline at one zoomlevel, would still > > have it left at any other zoomlevel. > > I suspect that's exactly how the geodesic version behaves, it acts > like a straight line but it won't please your eye because it doesn't > LOOK straight. > > good luck, Ross K --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
