title: Change Google Marker Size on Google Maps
body: <p>I have the following code that builds a custom google map marker like this:</p>
  
  <pre><code>            mapa.markers[ind] = new google.maps.Marker({
                                  position: mposition,
                                  map:mapa.map,
                                  title:mapa.json.markers[ind].timestamp,
                                  icon: "http://chart.apis.google.com/chart?chst=d_map_pin_letter&amp;chld="+ind+"|000000|FFF",
                              });
  </code></pre>
  
  <p>Using this solution <a href="https://stackoverflow.com/questions/7842730/change-marker-size-in-google-maps-v3">here</a>, I am trying to integrate this code into the above but am getting a syntax error?  What am I doing wrong?</p>
  
  <pre><code>null, /* size is determined at runtime */
  null, /* origin is 0,0 */
  null, /* anchor is bottom center of the scaled image */
  new google.maps.Size(42, 68)
  </code></pre>
  
  <p>Here is the updated code that shows a syntax error:</p>
  
  <pre><code> mapa.markers[ind] = new google.maps.Marker({
                                      position: mposition,
                                      map:mapa.map,
                                      title:mapa.json.markers[ind].timestamp,
                                      icon: "http://chart.apis.google.com/chart?chst=d_map_pin_letter&amp;chld="+ind+"|000000|FFF",
                                      null, /* size is determined at runtime */
                                      null, /* origin is 0,0 */
                                      null, /* anchor is bottom center of the scaled image */
                                      new google.maps.Size(42, 68)
                                  });
  </code></pre>