Optional
latitude: string | number | [number, number] | { A coordinate pair (latitude first), a GeoPoint like object or the GeoPoint's latitude
Optional
longitude: numberThe GeoPoint's longitude
Latitude of the given point
Longitude of the given point
Static
Readonly
DEG_How many radians fit in one degree.
Static
Readonly
EARTH_The Earth radius in kilometers used by kilometersTo
Static
Readonly
EARTH_The Earth radius in miles used by milesTo
Computes the arc, in radian, between two WGS-84 positions.
The haversine formula implementation is taken from: http://www.movable-type.co.uk/scripts/latlong.html
Returns the distance from this GeoPoint to another in radians.
the arc, in radian, between two WGS-84 positions
another GeoPoint
Static
currentGenerated using TypeDoc
Creates a new GeoPoint instance From latitude and longitude From a json object Or an tuple of latitude and longitude