title: how to create a custom pin on Bing maps v7
body: <p>Can someone show me how to custom the pin for Bing maps, version 7.0 please?  I'm experimenting with upgrading from version 6 which has a custom icon but I cant find anywhere that shows how to do this with version 7.  I have the following code so far.</p>
  
  <p>Many thanks,</p>
  
  <pre><code>var map = null; 
  var pinInfobox = null;
  
  function GetMap()
  {
      map = new Microsoft.Maps.Map(document.getElementById("myMap"), {
      credentials: "xxx",
      height: 236,
      width: 269,
      enableClickableLogo: false,
      enableSearchLogo: false,
      mapTypeId: Microsoft.Maps.MapTypeId.road,
      showDashboard: false});
  
  
      var loc = new Microsoft.Maps.Location(47.592, -122.332);
      var pin = new Microsoft.Maps.Pushpin(loc);
      map.entities.push(pin);
      map.setView({ center: loc, zoom: 6 });
  }
  </code></pre>