title: Change Stroke Color of Marker Icon
body: <p>I am using for a Google Maps Marker (V3) the icon in the following way:</p>
  
  <pre><code>var marker = new google.maps.Marker({
      id: "theId",
      icon: {
          path: google.maps.SymbolPath.FORWARD_CLOSED_ARROW,
          strokeColor: "green"
      },
      map: map,
      title: "theTitle",
      position: someLatitudeLongitude
  });
  </code></pre>
  
  <p>Now after creating this marker I like to change the color run-time with a color panel.
  Now this works perfectly for a polyline or polygon, but for the marker not quite well: it is changed but not real-time updated.</p>
  
  <p>Code:</p>
  
  <pre><code>selectedShape.icon.strokeColor = color; 
  </code></pre>
  
  <p>PROBLEM: Does not show color change on map. Only after saving and reloading the map, the correct color is shown.</p>
  
  <p>For a polygon I use:</p>
  
  <pre><code>selectedShape.set('strokeColor', color);
  </code></pre>
  
  <p>This works fine.</p>
  
  <p>So is there a set like operator for the marker or a partial refresh?</p>
  
  <p>Thanks for any help.</p>
  
  <p>Best regards,</p>
  
  <p>Evert Wiesenekker</p>