public function __construct($id = null, $value = null, $display = null, $displayorder = null, $minlatitude = null, $maxlatitude = null, $minlongitude = null, $maxlongitude = null, $uiminlatitude = null, $uimaxlatitude = null, $uiminlongitude = null, $uimaxlongitude = null, $gridspacing = null) { parent::__construct($id, $value, $display, $displayorder); if (isset($minlatitude)) { $this->minlatitude = floatval($minlatitude); } if (isset($maxlatitude)) { $this->maxlatitude = floatval($maxlatitude); } if (isset($minlongitude)) { $this->minlongitude = floatval($minlongitude); } if (isset($maxlongitude)) { $this->maxlongitude = floatval($maxlongitude); } if (isset($uiminlatitude)) { $this->uiminlatitude = floatval($uiminlatitude); } if (isset($uimaxlatitude)) { $this->uimaxlatitude = floatval($uimaxlatitude); } if (isset($uiminlongitude)) { $this->uiminlongitude = floatval($uiminlongitude); } if (isset($uimaxlongitude)) { $this->uimaxlongitude = floatval($uimaxlongitude); } if (isset($gridspacing)) { $this->gridspacing = floatval($gridspacing); } }