To draw a geodesic polyline the API has to do exactly the same thing, namely add more intermediate points. The difference would only be that if the API did it for you, then you could not decide how many intermediate points to add, while doing it yourself you can.
-- Marcelo - http://maps.forum.nu -- On Feb 18, 7:09 pm, Rami <ramiak2...@gmail.com> wrote: > Thanks. I am aware you can do it yourself, but then wouldn't that > defeat the purpose of the encoding? If I understand the code, you > calculate the intermediate points, then redefine the polyline to > include them. I guess I would have to do this before the encoding, > perhaps limited only to line segments > a certain length, then encode > the line with those extra points, right? But then my poly will have > a lot more points which will slow down the rendering. > > It seems to me that this option will be more efficient if built into > the API and can work with already-encoded polys. > > On Feb 18, 11:36 am, marcelo <marcelo...@hotmail.com> wrote: > > > On Feb 18, 4:42 pm, Rami <ramiak2...@gmail.com> wrote: > > > > I got used to plotting geodesic lines. Now I converted my liens to > > > encoded, but then they're not geodesic anymore. How can I specify the > > > geodesic option for encoded polys? > > > I don't think you can, unless there is some undocumented option that I > > am not aware of. > > But you can make them geodesic by calculating intermediate points > > yourself, like this:http://maps.forum.nu/gm_geodesic_polygon.html > > > -- > > Marcelo -http://maps.forum.nu > > -- --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Maps API" group. To post to this group, send email to Google-Maps-API@googlegroups.com To unsubscribe from this group, send email to google-maps-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Maps-API?hl=en -~----------~----~----~----~------~----~------~--~---