On 23 Jul., 19:49, "[email protected]" <[email protected]>
wrote:
> The blue lines are being added here:
> map.addOverlay(gp);
>
> add this:
> gp.setStrokeStyle({color: "#FF0000"});
> immediately after it to change it to red.
>
> The other option is to create a new polyline from the vertices of that
> one, creating it with the color you want before adding it to the map.
>
>   -- Larry
Hi Larry,
thanks, it works well.
But I have a new problem. First I load a default route by geoxml. Then
the user can create a own route by click in the map. When you click on
the default route opens a infowindow. It's not desired, but I can't
prevent it. Please have a look at the page.
Thanks Bernd
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to