mirror of https://github.com/tidwall/tile38.git
Update README.md
I just thought it wasn't clear how to use `detect` with `fence`.
This commit is contained in:
parent
e60191caed
commit
7d7a7acfd3
|
@ -226,6 +226,12 @@ The `detect` may be one of the following values.
|
||||||
- `exit` is when an object that **was** previously in the fence has exited the area.
|
- `exit` is when an object that **was** previously in the fence has exited the area.
|
||||||
- `cross` is when an object that **was not** previously in the fence has entered **and** exited the area.
|
- `cross` is when an object that **was not** previously in the fence has entered **and** exited the area.
|
||||||
|
|
||||||
|
These can be used when establishing a geofence, to pre-filter responses. For instance, to limit responses to `enter` detections:
|
||||||
|
|
||||||
|
```
|
||||||
|
> nearby fleet fence detect enter point 33.462 -112.268 6000
|
||||||
|
```
|
||||||
|
|
||||||
## Object types
|
## Object types
|
||||||
|
|
||||||
All object types except for XYZ Tiles and QuadKeys can be stored in a collection. XYZ Tiles and QuadKeys are reserved for the SEARCH keyword only.
|
All object types except for XYZ Tiles and QuadKeys can be stored in a collection. XYZ Tiles and QuadKeys are reserved for the SEARCH keyword only.
|
||||||
|
|
Loading…
Reference in New Issue