/** * Sets if the coordinate is wrap. * * @param boolean $noWrap TRUE if the coordinate is not wrap else FALSE. * * @throws \Ivory\GoogleMap\Exception\BaseException If the no wrap flag is not valid. */ public function setNoWrap($noWrap) { if (!is_bool($noWrap) && $noWrap !== null) { throw BaseException::invalidCoordinateNoWrap(); } $this->noWrap = $noWrap; }