Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
League
Geotools
Coordinate
Coordinate
normalizeLatitude
League\Geotools\Coordinate\Coordinate::normalizeLatitude PHP Method
Coordinate Class Documentation
Show file
Open project: toin0u/geotools
normalizeLatitude()
public
method
{@inheritDoc}
public
normalizeLatitude
(
$latitude
)
public function normalizeLatitude($latitude) { return (double) max(-90, min(90, $latitude)); }
Coordinate
__construct
getEllipsoid
getLatitude
getLongitude
getPrecision
isEqual
jsonSerialize
normalizeLatitude
normalizeLongitude
setFromString
setLatitude
setLongitude
setPrecision
toDecimalDegrees