title: How to change the icon Gmaps.js uses in Google Maps?
body: <p>How can I use the latest version of <a href="http://hpneo.github.com/gmaps/" rel="nofollow">GMaps.js</a> to change the pin icon I set in code?</p>
  
  <p>Here's what I'm trying to do:</p>
  
  <pre><code>$('input[name="Address"]').blur(function () {
      GMaps.geocode({
          address: $('input[name="Address"]').val(),
          callback: function (results, status) {
              if (status == 'OK') {
                  var latlng = results[0].geometry.location;
                  map.setCenter(latlng.lat(), latlng.lng());
                  map.addMarker({
                      lat: latlng.lat(),
                      lng: latlng.lng(),
                      icon: {
                          image: "http://i.imgur.com/12312.png"
                      }
                  });
              }
          }
      });
  });
  </code></pre>
  
  <p>When running this script, the following errors flare up in Firebug's console:</p>
  
  <pre><code>"NetworkError: 404 Not Found - http://localhost:17680/Account/undefined"
  
  "NetworkError: 404 Not Found - http://localhost:17680/Account/undefined"
  </code></pre>
  
  <p>I don't understand why it's trying to HTTP GET that URL since I've never invoked it anywhere in the code.</p>