Wasn't it Mike Williams who wrote: > >Actually, it's much easier now that we have GPolyline.setStrokeStyle(). >All you have to do is > > GEvent.addListener(directions, "load", function() { > dirn.getPolyline().setStrokeStyle({color:"#ff0000"}); > });
You can even do pretty, but rather impractical, things like this: GEvent.addListener(dirn,"load", function() { dirn.getPolyline().setStrokeStyle({color:"#000000", weight:10, opacity:1}); var poly2 = dirn.getPolyline().copy(); map.addOverlay(poly2); poly2.setStrokeStyle({color:"#ffffff", weight:8, opacity:1 }); }); -- http://econym.org.uk/gmap The Blackpool Community Church Javascript Team --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Maps-API?hl=en -~----------~----~----~----~------~----~------~--~---