src/GoogleMapAPI.php
function addIcon($iconImage,$iconShadowImage = '',$iconAnchorX = 'x',$iconAnchorY = 'x',$infoWindowAnchorX = 'x',$infoWindowAnchorY = 'x') {
    	$_iconKey = $this->getIconKey($iconImage, $iconShadowImage);
        $this->_marker_icons[$_iconKey] = $this->createMarkerIcon($iconImage,$iconShadowImage,$iconAnchorX,$iconAnchorY,$infoWindowAnchorX,$infoWindowAnchorY);
        return $_iconKey;
    }
function addIcon($iconImage,$iconShadowImage = '',$iconAnchorX = 'x',$iconAnchorY = 'x',$infoWindowAnchorX = 'x',$infoWindowAnchorY = 'x') {
    	$_iconKey = $this->getIconKey($iconImage, $iconShadowImage);
        $this->_marker_icons[$_iconKey] = $this->createMarkerIcon($iconImage,$iconShadowImage,$iconAnchorX,$iconAnchorY,$infoWindowAnchorX,$infoWindowAnchorY);
        return $_iconKey;
    }
function addIcon ( $ iconImage , $ iconShadowImage = '' , $ iconAnchorX = 'x' , $ iconAnchorY = 'x' , $ infoWindowAnchorX = 'x' , $ infoWindowAnchorY = 'x' ) { $ _iconKey = $ this -> getIconKey ( $ iconImage , $ iconShadowImage ) ; $ this -> _marker_icons [ $ _iconKey ] = $ this -> createMarkerIcon ( $ iconImage , $ iconShadowImage , $ iconAnchorX , $ iconAnchorY , $ infoWindowAnchorX , $ infoWindowAnchorY ) ; return $ _iconKey ; }
add an icon to "iconset"
@param string $iconImage URL to marker icon image
@param string $iconShadow URL to marker icon shadow image
@param string $iconAnchorX X coordinate for icon anchor point
@param string $iconAnchorY Y coordinate for icon anchor point
@param string $infoWindowAnchorX X coordinate for info window anchor point
@param string $infoWindowAnchorY Y coordinate for info window anchor point
@return string Returns the icon's key.
add an icon to iconset