I've got a patch that fixes your example. This should be live in the next week or two.
On Thu, Oct 21, 2010 at 2:57 PM, jfaba <[email protected]> wrote: > Thank you very much for this trick. > Yes, my two points are almost antipodes and this trick works fine. > Thanks again > > > On Oct 21, 5:19 am, Ben Appleton <[email protected]> wrote: > > The bug is only triggered when two sequential vertices have the same > > absolute latitude, one north versus one south. This case is rare in > > practice, so if you are just testing you can ignore the bug and we'll fix > it > > in the next release. However if you need to work around the bug this > week, > > you can insert 1 extra vertex on the equator between the two endpoints, > > like: > > > > var pts = [ > > new google.maps.LatLng(13.4155, 103.8923), > > // HACK: Split the polyline at the equator to work around a geodesic > > bug. > > new google.maps.LatLng(0, (103.8923 - 76.107) / 2), > > new google.maps.LatLng(-13.415, -76.107) > > ]; > > > > - Ben > > > > > > > > On Thu, Oct 21, 2010 at 2:11 PM, jfaba <[email protected]> wrote: > > > Thanks a lot. > > > I've been working for one month on migrating my website from v2 to v3 > and I > > > would apreciate to know if I have to go back to v2 or wait for this bug > to > > > be fixed. I really need to use the flight route polyline. > > > > > -- > > > You received this message because you are subscribed to the Google > Groups > > > "Google Maps JavaScript API v3" group. > > > To post to this group, send email to > > > [email protected]. > > > To unsubscribe from this group, send email to > > > [email protected]<google-maps-js-api-v3%[email protected]> > <google-maps-js-api-v3%2b[email protected]> > > > . > > > For more options, visit this group at > > >http://groups.google.com/group/google-maps-js-api-v3?hl=en.- Hide > quoted text - > > > > - Show quoted text - > > -- > You received this message because you are subscribed to the Google Groups > "Google Maps JavaScript API v3" group. > To post to this group, send email to > [email protected]. > To unsubscribe from this group, send email to > [email protected]<google-maps-js-api-v3%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/google-maps-js-api-v3?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" 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-js-api-v3?hl=en.
