3 require_once
"Services/ADT/classes/Bridges/class.ilADTFormBridge.php";
24 include_once(
"./Services/Maps/classes/class.ilMapUtil.php");
26 $adt->setLatitude($def[
"latitude"]);
27 $adt->setLongitude($def[
"longitude"]);
28 $adt->setZoom($def[
"zoom"]);
36 : $lng->txt(
"location");
39 $loc->setLongitude(
$adt->getLongitude());
40 $loc->setLatitude(
$adt->getLatitude());
41 $loc->setZoom(
$adt->getZoom());
48 $optional->addSubItem($loc);
51 if(!$default && !
$adt->isNull())
53 $optional->setChecked(
true);
78 $this->
getADT()->setLongitude($incoming[
"longitude"]);
79 $this->
getADT()->setLatitude($incoming[
"latitude"]);
80 $this->
getADT()->setZoom($incoming[
"zoom"]);
84 $this->
getADT()->setLongitude(null);
85 $this->
getADT()->setLatitude(null);
86 $this->
getADT()->setZoom(null);
90 $field->setLongitude($this->
getADT()->getLongitude());
91 $field->setLatitude($this->
getADT()->getLatitude());
92 $field->setZoom($this->
getADT()->getZoom());
static getDefaultSettings()
Get default longitude, latitude and zoom.