◆ getHTML()
ilADTLocationPresentationBridge::getHTML |
( |
| ) |
|
Definition at line 21 of file class.ilADTLocationPresentationBridge.php.
References ilADTPresentationBridge\decorate(), ilADTPresentationBridge\getADT(), and ilMapUtil\getMapGUI().
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());
decorate($a_value)
Decorate value.
static getMapGUI()
Get an instance of the GUI class.
◆ getList()
ilADTLocationPresentationBridge::getList |
( |
| ) |
|
◆ getSortable()
ilADTLocationPresentationBridge::getSortable |
( |
| ) |
|
◆ isValidADT()
ilADTLocationPresentationBridge::isValidADT |
( |
ilADT |
$a_adt | ) |
|
|
protected |
◆ setSize()
ilADTLocationPresentationBridge::setSize |
( |
|
$a_width, |
|
|
|
$a_height |
|
) |
| |
◆ $height
ilADTLocationPresentationBridge::$height |
|
protected |
◆ $width
ilADTLocationPresentationBridge::$width |
|
protected |
The documentation for this class was generated from the following file: