http://code.google.com/apis/maps/documentation/javascript/reference.html#PolylineOptions
You can set the stroke color.
e.g.
line = new google.maps.Polyline({
path: linecoords,
strokeColor: "#FF0000",
strokeOpacity: 0.7,
strokeWeight: 2
});
On Jan 21, 4:19 am, Snipher <[email protected]> wrote:
> Hi Everyone,
> I want to draw multi color polyline on google map
> Like for example, I have five markers linked with eachother through
> polyline had color red only,
> Now I want to show the first polyline in Red,Second in Green,3rd in
> black and so on.
> please tell me how can i do this,I am using google map api v3
> Thanks in advance
--
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.