title: Set colour of a Polyline in Google Maps v3?
body: <p>How can I set the colour of a Google Maps Polyline?</p>
  
  <pre><code>var myRoutePath;
  myRoutePath = new google.maps.Polyline({
    path: routeCoordinates,
    strokeColor: "#CC33FF",
    strokeWeight: 3
  });     
  myRoutePath.setMap(map);
  // Reset colour
  myRoutePath.setOptions({strokeColor: 'blue'});
  </code></pre>
  
  <p>The above doesn't show up as an error in Firebug, but it doesn't change the color either. </p>
  
  <p>Thanks for your help. </p>