コード例 #1
0
 private function createAddPresenter($template, $childWpHandler, $cacheId)
 {
     $presenter = new AddPresenterChildWp($this->request, $this->translator);
     /* set default waypoint coordinates to cache coordinates */
     $presenter->initCoordinate(CoordinateCoordinate::getFromCache($cacheId));
     return $presenter;
 }
コード例 #2
0
 public function getCoordinate()
 {
     return CoordinateCoordinate::fromHemDegMin($this->getLatHem(), $this->getLatDeg(), $this->getLatMin(), $this->getLonHem(), $this->getLonDeg(), $this->getLonMin());
 }