Minor wording change for testing purposes.
This commit is contained in:
parent
a802436f98
commit
1dbded56e1
|
@ -42,7 +42,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});
|
||||||
|
@ -52,7 +52,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