Commit c8ef107b33d1f8ff9b9dead1ea532e88e28b4803
Committed by
GitHub
1 parent
6749f542
Exists in
master
fixed typo in circle-based geo-shape query in readme (#1598)
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
README.md
... | ... | @@ -1112,7 +1112,7 @@ Restaurant.search("soup", where: {bounds: {geo_shape: {type: "polygon", coordina |
1112 | 1112 | Falling entirely within the query shape |
1113 | 1113 | |
1114 | 1114 | ```ruby |
1115 | -Restaurant.search("salad", where: {bounds: {geo_shape: {type: "circle", relation: "within", coordinates: [{lat: 38, lon: -123}], radius: "1km"}}}) | |
1115 | +Restaurant.search("salad", where: {bounds: {geo_shape: {type: "circle", relation: "within", coordinates: {lat: 38, lon: -123}, radius: "1km"}}}) | |
1116 | 1116 | ``` |
1117 | 1117 | |
1118 | 1118 | Not touching the query shape | ... | ... |