Skip to content

Commit 146a5c9

Browse files
committed
integration: google maps basic
1 parent 77244f6 commit 146a5c9

3 files changed

Lines changed: 4 additions & 5 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,8 +153,8 @@ radius.next(23);
153153
import { get } from 'geofirex';
154154

155155
async function getCars {
156-
const query = geo.collection('cities').within(...)
157-
const cities = await get(query)
156+
const query = geo.collection('cars').within(...)
157+
const cars = await get(query)
158158
}
159159
```
160160

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "geofirex",
3-
"version": "0.0.2",
3+
"version": "0.0.3",
44
"description": "Realtime Firestore GeoQueries with RxJS",
55
"main": "dist/index.cjs.js",
66
"module": "dist/index.esm.js",
@@ -31,7 +31,6 @@
3131
],
3232
"author": "Jeff Delaney",
3333
"license": "ISC",
34-
"dependencies": {},
3534
"peerDependencies": {
3635
"rxjs": "^6.2.1",
3736
"firebase": "5.2.0"

src/client.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { GeoFirePoint } from './geohash';
66
export class GeoFireClient {
77
constructor(private app: firestore.FirebaseApp) {}
88
/**
9-
* Creates reference to a Firestre collection that can be used to make geo-queries and perform writes
9+
* Creates reference to a Firestore collection that can be used to make geo-queries and perform writes
1010
* If you pass a query, any subsequent geo-queries will be limited to this subset of documents
1111
* @param {string} path path to collection
1212
* @param {QueryFn} query? Firestore query id ref => ref.orderBy('foo').limit(5)

0 commit comments

Comments
 (0)