Wasn't it [EMAIL PROTECTED] who wrote: >On Sep 12, 5:47 pm, Amil <[EMAIL PROTECTED]> wrote: >> I thought I saw something about using a driving route...being able to >> get each line segment and changing a color on it. But not sure. >> Plus, my lines don't always follow streets since they are created from >> jogging/biking data. >> >> Yes, I realize I could create small, individual line segments, but was >> hoping I could somehow modify the segments of a polyline. The docs >> didn't show any property/method for accessing each line segment. > >That is because there isn't one. You can only control the color of a >complete polyline.
Consider the underlying graphics technology: VML (used in MSIE) doesn't support multicoloured polylines. SVG (used in Firefox) doesn't support multicoloured polylines. CANVAS (used in Chrome) doesn't support multicoloured polylines. If the API were to support multicoloured polylines, they'd have to do it by plotting the line segments individually. So they might as well leave that to you. -- http://econym.googlepages.com/index.htm 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 [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 -~----------~----~----~----~------~----~------~--~---
