Small change to text webhook.
This commit is contained in:
parent
b1787e0b94
commit
9ab2d43bf5
|
@ -44,7 +44,7 @@ CoffeeShop.find({where: {location: {near: here}}, limit:3}, function(err, nearby
|
||||||
|
|
||||||
#### geoPoint.distanceTo(geoPoint, options)
|
#### geoPoint.distanceTo(geoPoint, options)
|
||||||
|
|
||||||
Get the distance to another `GeoPoint`.
|
Get the distance to another `GeoPoint`; for example:
|
||||||
|
|
||||||
```js
|
```js
|
||||||
var here = new GeoPoint({lat: 10, lng: 10});
|
var here = new GeoPoint({lat: 10, lng: 10});
|
||||||
|
@ -54,7 +54,7 @@ console.log(here.distanceTo(there, {type: 'miles'})); // 438
|
||||||
|
|
||||||
#### GeoPoint.distanceBetween(a, b, options)
|
#### GeoPoint.distanceBetween(a, b, options)
|
||||||
|
|
||||||
Get the distance between two points.
|
Get the distance between two points; for example:
|
||||||
|
|
||||||
```js
|
```js
|
||||||
GeoPoint.distanceBetween(here, there, {type: 'miles'}) // 438
|
GeoPoint.distanceBetween(here, there, {type: 'miles'}) // 438
|
||||||
|
|
Loading…
Reference in New Issue