@react-native-firebase/firestore
Version:
React Native Firebase - Cloud Firestore is a NoSQL cloud database to store and sync data between your React Native application and Firebase's database. The API matches the Firebase Web SDK whilst taking advantage of the native SDKs performance and offline
18 lines (14 loc) • 483 B
TypeScript
/**
* An immutable object representing a geographic location in Firestore. The
* location is represented as latitude/longitude pair.
*
* Latitude values are in the range of [-90, 90].
* Longitude values are in the range of [-180, 180].
*/
export declare class GeoPoint {
readonly latitude: number;
readonly longitude: number;
constructor(latitude: number, longitude: number);
isEqual(other: GeoPoint): boolean;
toJSON(): { latitude: number; longitude: number };
}