 <pre><code>function createMarker(latlng, imageURL, imageSize) { var marker = new GIcon(G_DEFAULT_ICON, imageURL); marker.iconSize = imageSize; marker.shadow = null; return new GMarker(latlng, { icon: marker }); } </code></pre> <p>You'll also want to set iconSize if you're using a maker that isn't the same size as the standard one.</p>