Constructor
new GeoPoint(latitude, longitude)
Creates a GeoPoint.
Parameters:
Name | Type | Description |
---|---|---|
latitude |
number |
The latitude as a number between -90 and 90. |
longitude |
number |
The longitude as a number between -180 and 180. |
Members
latitude
The latitude as a number between -90 and 90.
longitude
The longitude as a number between -180 and 180.
Methods
isEqual(other) → {boolean}
Returns true if this GeoPoint
is equal to the provided value.
Parameters:
Name | Type | Description |
---|---|---|
other |
* |
The value to compare against. |
Returns:
Type | Description |
---|---|
boolean |
true if this |