Jump to top

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

latitude

</>

The latitude of this GeoPoint instance.

latitude: number;

longitude

</>

The longitude of this GeoPoint instance.

longitude: number;

Methods

isEqual

</>

Returns true if this GeoPoint is equal to the provided one.

isEqual(other: GeoPoint): boolean;