The document being set.
The key of the document to use as the location. Otherwise we default to coordinates
.
The document encoded as GeoDocument object.
Encodes a Firestore Document to be set as a GeoDocument.
A map of the fields and values for the document.
An object to configure the set behavior. Includes custom key for location in document.
The document encoded as GeoDocument object.
Encodes a Firestore Document to be updated as a GeoDocument.
The document being updated.
The key of the document to use as the location. Otherwise we default to coordinates
.
The document encoded as GeoDocument object.
Encodes a document with a GeoPoint as a GeoDocument.
The location as a Firestore GeoPoint.
Document to encode.
The document encoded as GeoDocument object.
Executes a query and returns the result(s) as a GeoQuerySnapshot.
WEB CLIENT ONLY
Note: By default, get() attempts to provide up-to-date data when possible by waiting for data from the server, but it may return
cached data or fail if you are offline and the server cannot be reached. This behavior can be altered via the GetOptions
parameter.
The Firestore Query instance.
The query criteria of geo based queries, includes field such as center, radius, and limit.
Executes a query and returns the result(s) as a GeoQuerySnapshot.
WEB CLIENT ONLY
Note: By default, get() attempts to provide up-to-date data when possible by waiting for data from the server, but it may return
cached data or fail if you are offline and the server cannot be reached. This behavior can be altered via the GetOptions
parameter.
The Firestore Query instance.
The query criteria of geo based queries, includes field such as center, radius, and limit.
Executes a query and returns the result(s) as a GeoQuerySnapshot.
WEB CLIENT ONLY
Note: By default, get() attempts to provide up-to-date data when possible by waiting for data from the server, but it may return
cached data or fail if you are offline and the server cannot be reached. This behavior can be altered via the GetOptions
parameter.
Validates the inputted GeoDocument object and throws an error, or returns boolean, if it is invalid.
The GeoDocument object to be validated.
Tells function to send up boolean if valid instead of throwing an error.
Flag if data is valid
Validates the inputted limit and throws an error, or returns boolean, if it is invalid.
The limit to be applied by GeoQuery.limit()
Tells function to send up boolean if valid instead of throwing an error.
Validates a GeoPoint object and returns a boolean if valid, or throws an error if invalid.
The Firestore GeoPoint to be verified.
Tells function to send up boolean if not valid instead of throwing an error.
Validates the inputted query criteria and throws an error if it is invalid.
The criteria which specifies the query's center and/or radius.
The criteria which center and radius required.
Generated using TypeDoc
Encodes a Firestore Document to be added as a GeoDocument.