Creates an object representing a geographical point with the given latitude and longitude.
Creates an object representing a geographical point with the given latitude and longitude.
A multiplier for converting degrees into radians.
Value: Math.PI / 180.
Max margin of error for the equality check.
Value: 1.0E-9.
A multiplier for converting radians into degrees.
Value: 180 / Math.PI.
Latitude in degrees.
Longitude in degrees.
Returns the distance (in meters) to the given LatLng calculated using the Haversine formula. See description on wikipedia
number
Returns true if the given LatLng point is at the same position (within a small margin of error).
boolean
Returns a string representation of the point (for debugging purposes).
string
Returns a new LatLng object with the longitude wrapped around left and right boundaries (-180 to 180 by default).