3 require_once
"Services/ADT/classes/Bridges/class.ilADTPresentationBridge.php";
15 public function setSize($a_width, $a_height)
17 $this->width = $a_width;
18 $this->height = $a_height;
23 if(!$this->
getADT()->isNull())
25 include_once(
"./Services/Maps/classes/class.ilMapUtil.php");
27 $map_gui->setMapId(
"map_".uniqid())
28 ->setLatitude($this->
getADT()->getLatitude())
29 ->setLongitude($this->
getADT()->getLongitude())
30 ->setZoom($this->
getADT()->getZoom())
31 ->setEnableTypeControl(
true)
32 ->setEnableLargeMapControl(
true)
33 ->setEnableUpdateListener(
false)
34 ->setEnableCentralMarker(
true);
38 $map_gui->setWidth($this->width);
42 $map_gui->setHeight($this->height);
45 return $map_gui->getHtml();
51 if(!$this->
getADT()->isNull())
54 return $this->
getADT()->getLatitude().
"°/".$this->
getADT()->getLongitude().
"°";
60 if(!$this->
getADT()->isNull())
63 return $this->
getADT()->getLatitude().
";".$this->
getADT()->getLongitude();