public function attachInfoWindow(InfoWindow $infoWindow, $shared = true)
    {
        $this->infoWindow = $infoWindow;
        $this->isInfoWindowShared = $shared;
    }
public function attachInfoWindow(InfoWindow $infoWindow, $shared = true)
    {
        $this->infoWindow = $infoWindow;
        $this->isInfoWindowShared = $shared;
    }
public function attachInfoWindow ( InfoWindow $ infoWindow , $ shared = true ) { $ this -> infoWindow = $ infoWindow ; $ this -> isInfoWindowShared = $ shared ; }
Attaches a info window to the object

@param InfoWindow $infoWindow
@param bool $shared
Attaches a info window to the object