3 declare(strict_types=1);
    34     public function setSize(
string $a_width, 
string $a_height): void
    36         $this->width = $a_width;
    37         $this->height = $a_height;
    42         if (!$this->
getADT()->isNull()) {
    44             $map_gui->setMapId(
"map_" . uniqid()) 
    45                     ->setLatitude((
string) $this->
getADT()->getLatitude())
    46                     ->setLongitude((
string) $this->
getADT()->getLongitude())
    47                     ->setZoom($this->
getADT()->getZoom())
    48                     ->setEnableTypeControl(
true)
    49                     ->setEnableLargeMapControl(
true)
    50                     ->setEnableUpdateListener(
false)
    51                     ->setEnableCentralMarker(
true);
    54                 $map_gui->setWidth($this->width);
    57                 $map_gui->setHeight($this->height);
    60             return $this->
decorate($map_gui->getHtml());
    67         if (!$this->
getADT()->isNull()) {
    69             return $this->
getADT()->getLatitude() . 
"°/" . $this->
getADT()->getLongitude() . 
"°";
    76         if (!$this->
getADT()->isNull()) {
    78             return $this->
getADT()->getLatitude() . 
";" . $this->
getADT()->getLongitude();
 
decorate($a_value)
Decorate value. 
 
static getMapGUI()
Get an instance of the GUI class. 
 
setSize(string $a_width, string $a_height)
Set size in strings of int + unit, e.g. 
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...