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. On Sep 12, 6:41 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > On Sep 12, 5:32 pm, Amil <[EMAIL PROTECTED]> wrote: > > > I have a list of lat/lon points that I use to create a GPolyLine. > > > Is there a way that I can color different segments of the line with a > > different color. I want to change the color of the line depending on > > the speed. Any suggestions for doing this some other day? > > I would suggest reading the documentation. A polyline can be any > color you want, but the whole polyline is the same color. You can > make each segment a separate polyline with a different color, but > beware, too many will slow the map down... --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
