3 declare(strict_types=1);
21 $adt->setLatitude((
float) $def[
"latitude"]);
22 $adt->setLongitude((
float) $def[
"longitude"]);
23 $adt->setZoom((
int) $def[
"zoom"]);
31 : $this->
lng->txt(
"location");
34 $loc->setLongitude(
$adt->getLongitude());
35 $loc->setLatitude(
$adt->getLatitude());
36 $loc->setZoom(
$adt->getZoom());
42 $optional->addSubItem($loc);
46 $optional->setChecked(
true);
66 $this->
getADT()->setLongitude((
float) $incoming[
"longitude"]);
67 $this->
getADT()->setLatitude((
float) $incoming[
"latitude"]);
68 $this->
getADT()->setZoom((
int) $incoming[
"zoom"]);
70 $this->
getADT()->setLongitude(null);
71 $this->
getADT()->setLatitude(null);
72 $this->
getADT()->setZoom(null);
76 $field->setLongitude($this->
getADT()->getLongitude());
77 $field->setLatitude($this->
getADT()->getLatitude());
78 $field->setZoom($this->
getADT()->getZoom());
static getDefaultSettings()
Get default longitude, latitude and zoom.
isNull()
Is currently null.
getCopyOfDefinition()
Get copy of definition.