title: How to rotate a marker in Google Maps?
body: <p>Following is the code to rotate a marker, but how to rotate a custom marker. Any Idea?</p>
  
  <pre><code>var angleDegrees = 150;
  new google.maps.Marker({
      position: a,
      map: map,
      icon: {
          path: google.maps.SymbolPath.FORWARD_CLOSED_ARROW,
          scale: 6,
          fillColor: "red",
          fillOpacity: 0.8,
          strokeWeight: 2,
          rotation: angleDegrees //this is how to rotate the pointer
      }  
  });
  </code></pre>