Google Maps API v3 - GIcon is not defined
I know they are some issues from v2 to v3 what can i do here to fix it? GIcon is not supported by 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