39 $a_value = (float)$a_value;
41 $this->longitude = $a_value;
53 $a_value = (float)$a_value;
55 $this->latitude = $a_value;
70 $this->zoom = max(1, abs((
int)$a_value));
80 return ($this->
getLongitude() == $a_adt->getLongitude() &&
114 if($long !== null && $lat !== null)
117 if($long < -180 || $long > 180)
123 if($lat < -90 || $lat > 90)
144 case self::ADT_VALIDATION_ERROR_LONGITUDE:
145 return $lng->txt(
"adt_error_longitude");
147 case self::ADT_VALIDATION_ERROR_LATITUDE:
148 return $lng->txt(
"adt_error_latitude");