Constructors
constructor
- new LatLng(latitude: number, longitude: number): LatLng
- new LatLng(coords: number[]): LatLng
-
Parameters
-
latitude: number
-
longitude: number
-
Parameters
Properties
lat
lat: number
lng
lng: number
Static DEG_TO_RAD
DEG_TO_RAD: number
Static MAX_MARGIN
MAX_MARGIN: number
Static RAD_TO_DEG
RAD_TO_DEG: number
Methods
distanceTo
- distanceTo(otherLatlng: LatLng): number
-
Parameters
Returns number
equals
- equals(otherLatlng: LatLng): boolean
-
Parameters
Returns boolean
toString
-
Returns string
wrap
- wrap(left: number, right: number): LatLng
-
Parameters
-
left: number
-
right: number
Creates an object representing a geographical point with the given latitude and longitude.