Пример #1
0
 /**
  * Sets the y coordinate.
  *
  * @param double $y The y coordinate.
  *
  * @throws \Ivory\GoogleMap\Exception\BaseException If the Y coordinate is not valid.
  */
 public function setY($y)
 {
     if (!is_numeric($y)) {
         throw BaseException::invalidPointY();
     }
     $this->y = $y;
 }