API de Google Maps v3: GIcon no está definido

Sé que son algunos problemas de v2 a v3. ¿Qué puedo hacer aquí para solucionarlo?
GIcon no es compatible con v3?

// Google-Map icon object
var gMapIcon = new GIcon(G_DEFAULT_ICON); //change to new google.maps.MarkerImage();???
// does icon exist
if ( mapElements[lMapElementIndex]['icon'].toString().length > 0) {
    gMapIcon.image = html_entity_decode(mapElements[lMapElementIndex]['icon']);
    gMapIcon.shadow = "";
    iconHeight = mapElements[lMapElementIndex]['iconheight'];
    iconWidth = mapElements[lMapElementIndex]['iconwidth'];
    gMapIcon.iconSize = new GSize(iconWidth,iconHeight);
    gMapIcon.iconAnchor = new GPoint(0,0);
    gMapIcon.infoWindowAnchor = new GPoint(15,10);
}
    var markerOptions = { 
        icon: gMapIcon //change to image? 
     };
    var marker = new google.maps.Marker(point,markerOptions);

encontrado desde aquíhttps://developers.google.com/maps/documentation/javascript/overlays?hl=de-DE#SimpleIcons

Gracias por cualquier ayuda o consejos!

Respuestas a la pregunta(1)

Su respuesta a la pregunta