Skip to content

Commit

Permalink
docs: fix setChan examples
Browse files Browse the repository at this point in the history
  • Loading branch information
b00tsy authored and iwpnd committed Feb 10, 2024
1 parent dc1fce7 commit 79871e3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -745,7 +745,7 @@ Similar to `setHook()`, but opens a PUB/SUB channel.
// enters the area of a 500m radius around
// latitude 33.5123 and longitude -112.2693
await tile38
.setChan('warehouse', 'http://10.0.20.78/endpoint')
.setChan('warehouse')
.nearby('fleet')
.point(33.5123, -112.2693, 500)
.exec();
Expand Down Expand Up @@ -798,9 +798,9 @@ await tile38.pDelChan('ware*');
**Geosearch**
| | |
|--|--|
| `.nearby(name, endpoint)` | |
| `.within(name, endpoint)` | |
| `.intersects(name, endpoint)` | |
| `.nearby(name)` | |
| `.within(name)` | |
| `.intersects(name)` | |

**Options**
| | |
Expand Down

0 comments on commit 79871e3

Please sign in to comment.