Пример #1
0
 /**
  * Set longitude and latitude values into the map
  *
  * @param $map
  * @param $key
  * @param GeomPoint $geomPoint
  */
 public function setPoint(&$map, $key, $geomPoint)
 {
     if ($geomPoint) {
         $map[$key . "_X"] = $geomPoint->getX();
         $map[$key . "_Y"] = $geomPoint->getY();
     }
     $map[$key] = $geomPoint;
 }