コード例 #1
0
 /**
  * Sets the auto close flag.
  *
  * @param boolean $autoClose TRUE if all opened info windows close when one is opened else FALSE.
  *
  * @throws \Ivory\GoogleMap\Exception\OverlayException If the auto close flag is not valid.
  */
 public function setAutoClose($autoClose)
 {
     if (!is_bool($autoClose)) {
         throw OverlayException::invalidInfoWindowAutoClose();
     }
     $this->autoClose = $autoClose;
 }