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; }
public function getCoordinate() { return CoordinateCoordinate::fromHemDegMin($this->getLatHem(), $this->getLatDeg(), $this->getLatMin(), $this->getLonHem(), $this->getLonDeg(), $this->getLonMin()); }