title: How to change marker color?
body: <p>I have defined a marker named <code>marker1</code> with some options as follows:</p>
  
  <pre><code>marker1 = new google.maps.Marker({
      position: cPoint,
      map: map,
      icon: {
          path: google.maps.SymbolPath.CIRCLE,
          scale: 4,
          strokeColor: 'black',
          strokeOpacity: 0.6,
          strokeWeight: 1.0,
          fillColor:'green',
          fillOpacity: 0.6
          }
      });
  </code></pre>
  
  <p>Later I want to change the color of the marker. I am using the following line. But I get an error. Can someone guide me?</p>
  
  <pre><code>marker1.setOptions({ icon: { fillColor: 'red' }});
  </code></pre>
  
  <p>What is the correct syntax for the above line??</p>