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()) {
24 include_once(
"./Services/Maps/classes/class.ilMapUtil.php");
26 $map_gui->setMapId(
"map_" . uniqid())
27 ->setLatitude($this->
getADT()->getLatitude())
28 ->setLongitude($this->
getADT()->getLongitude())
29 ->setZoom($this->
getADT()->getZoom())
30 ->setEnableTypeControl(
true)
31 ->setEnableLargeMapControl(
true)
32 ->setEnableUpdateListener(
false)
33 ->setEnableCentralMarker(
true);
36 $map_gui->setWidth($this->width);
39 $map_gui->setHeight($this->height);
42 return $this->
decorate($map_gui->getHtml());
48 if (!$this->
getADT()->isNull()) {
50 return $this->
getADT()->getLatitude() .
"°/" . $this->
getADT()->getLongitude() .
"°";
56 if (!$this->
getADT()->isNull()) {
58 return $this->
getADT()->getLatitude() .
";" . $this->
getADT()->getLongitude();
decorate($a_value)
Decorate value.
static getMapGUI()
Get an instance of the GUI class.
setSize($a_width, $a_height)
ADT presentation bridge base class.