Thanks for catching that!  It should be documented.  We'll get it
fixed soon.

Thanks,
Susannah

On Jun 23, 12:34 am, ovimihai <[email protected]> wrote:
> In the documentation there is no setOptions() Method but there is one
> that it works
>
> myMap = new google.maps.Map(document.getElementById("mapDiv"),
> myOptions);
>
> directionsDisplay.setMap(myMap);
>
> var directionRendererOptions ={
>                 suppressMarkers: true,
>                 preserveViewport: true,
>                 polylineOptions:{
>                         strokeColor: "#FF0000",
>                         strokeOpacity: 0.5,
>                         strokeWeight: 3
>                         }
>                 };
>
> directionsDisplay.setOptions(directionRendererOptions);
>
> And it changes the polyline !

-- 
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.

Reply via email to