Hi,
I'm working on a new project that would be improved significantly by
the use of geodesic polylines. I've written the JavaScript to add the
lines, but they're coming out at straight (non-geodesic) lines. The
JavaScript snippet I'm using looks like this:
var points = [];
points.push(fromPt);
points.push(toPt);
newpolyline = new GPolyline(points,"#ff0000", 3, 1,{geodesic:true});
var tripMap = google.mashups.getObjectById('worldMap').getMap();
tripMap.addOverlay(newpolyline);
I get the line, but it seems to be ignoring the optional geodesic
parameter. I'm assuming this is because the Maps version in the editor
is previous to the release that supports geodesic lines? Is this the
case? Is there a way for me to change the maps version being used so I
can use this feature?
Cheers
Reto