title: Google Maps Marker Size
body: <p>I am trying to set the size of a custom map marker on Google Maps v3. I am using the code below to generate the map but not sure where the code <code>google.maps.Size(12,14))</code> should be placed?</p>
  
  <pre><code>function init(){
      var e= {
          center:new google.maps.LatLng(xx.xxxxx,-x.xxxxx),
          zoom:16,
          zoomControl:true,
          zoomControlOptions:{
            style:google.maps.ZoomControlStyle.DEFAULT
          },
          disableDoubleClickZoom:true,
          mapTypeControl:true,
          mapTypeControlOptions:{
              style:google.maps.MapTypeControlStyle.HORIZONTAL_BAR
          },
          scaleControl:true,
          scrollwheel:true,
          panControl:true,
          streetViewControl:false,
          draggable:true,
          overviewMapControl:true,
          overviewMapControlOptions:{
              opened:false
          },
          mapTypeId:google.maps.MapTypeId.ROADMAP
      };
      var t=document.getElementById("google_map");
      var n=new google.maps.Map(t,e);
      var r=[
          ["undefined","undefined","undefined","undefined","",xx.xxxxx,-x.xxxxxx,"/images/marker.png"]
      ];
      for(i=0;i&lt;r.length;i++){
          if(r[i][7]=="undefined"){
              markericon=""
          }else{
              markericon=r[i][7]
          }
          marker=new google.maps.Marker({
              icon:markericon,
              position:new google.maps.LatLng(r[i][5],r[i][6]),
              map:n
          })
       }
    }
    google.maps.event.addDomListener(window,"load",init);
    var map
  </code></pre>