Aother idea:
...
var gpoly; // global
... // load your maps / controls here
gdir = new GDirections(map, document.getElementById("route"));
GEvent.addListener(yourDirectionsObject, "load",
onGDirectionsLoad); // event handler
...
onGDirectionsLoad() {
...
gpoly=gdir.getPolyline();
gpoly.color = "#00bbdd";
gpoly.weight=8;
gpoly.opacity = 0.7;
...
}On 12 Nov., 18:40, michele <[EMAIL PROTECTED]> wrote: > I have had a look at this argoment but i have not found a clear > answer: > is it possible to change the color of a route obtained by > GDirection.load() ? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
