Location

constructor(latitude: Angle, longitude: Angle)


constructor()

Constructs a location with latitude and longitude both 0.


constructor(location: Location)

Constructs a location with the latitude and longitude of a specified location.

Parameters

location

the location specifying the coordinates