GeoPoint
interface
An immutable object representing a geo point in Firestore. The geo point is represented as latitude/longitude pair.
Latitude values are in the range of [-90, 90]. Longitude values are in the range of [-180, 180].
Properties
Methods
isEqual
</>Returns true if this GeoPoint
is equal to the provided one.
isEqual(other: GeoPoint): boolean;
toJSON
</>Returns a JSON-serializable representation of this GeoPoint.
toJSON(): { latitude: number, longitude: number };