Its hard to tell what you want to do because that page of Bill Chadwicks has about 6 examples on it. But referring to changing the colours of segments of a polyline path in general, that is possible. If its a polyline that is the result of a directions request, just a matter of iterating through legs, steps and path points, and drawing the segments as separate polylines with whatever colour you want. If its a polyline of your own, you can get the path points from the MVCArray, and redraw each segment as above. Not sure if thats what you want, but hope it helps. ...stu
On Sep 18, 1:11 am, venom00 <[email protected]> wrote: > Hello, is it possible to extend polyline so I can choose the color of > each segment of the path? > > I'm looking for something similar to the extend polyline and polygon > you can find here:http://www.bdcc.co.uk/Gmaps/BdccGmapBits.htm > > Maybe doing something VML and SVG specific. > > Thanks in advance, > venom00 -- 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.
