Пример #1
0
 /**
  * Sets if the info window is open.
  *
  * @param boolean $open TRUE if the info window is open else FALSE.
  *
  * @throws \Ivory\GoogleMap\Exception\OverlayException If the info window open flag is not valid.
  */
 public function setOpen($open)
 {
     if (!is_bool($open)) {
         throw OverlayException::invalidInfoWindowOpen();
     }
     $this->open = $open;
 }