/** * Clamp to either -90.0 or +90.0. * @param float $value */ protected function set__latitude($value) { $this->latitude = MathUtils::normalizeLatitude($value); }