src/GoogleMapAPI.php
function addMarkerOpener($marker_id, $dom_id){
    	if($this->info_window === false || !isset($this->_markers[$marker_id]))
    	   return false;
    	if(!isset($this->_markers[$marker_id]["openers"]))
    	   $this->_markers[$marker_id]["openers"] = array();
        $this->_markers[$marker_id]["openers"][] = $dom_id;    	   
    }
function addMarkerOpener($marker_id, $dom_id){
    	if($this->info_window === false || !isset($this->_markers[$marker_id]))
    	   return false;
    	if(!isset($this->_markers[$marker_id]["openers"]))
    	   $this->_markers[$marker_id]["openers"] = array();
        $this->_markers[$marker_id]["openers"][] = $dom_id;    	   
    }
function addMarkerOpener ( $ marker_id , $ dom_id ) { if ( $ this -> info_window === false || ! isset ( $ this -> _markers [ $ marker_id ] ) ) return false ; if ( ! isset ( $ this -> _markers [ $ marker_id ] [ "openers" ] ) ) $ this -> _markers [ $ marker_id ] [ "openers" ] = array ( ) ; $ this -> _markers [ $ marker_id ] [ "openers" ] [ ] = $ dom_id ; }
adds a DOM object ID to specified marker to open the marker's info window.
Does nothing if the info windows is disabled.
@param string $marker_id ID of the marker to associate to
@param string $dom_id ID of the DOM object to use to open marker info window
@return bool true/false status
adds a DOM object ID to specified marker to open the marker s info window . Does nothing if the info windows is disabled .