Minor wording change for testing purposes.

This commit is contained in:
Rand McKinney 2014-01-21 14:41:51 -08:00
parent a802436f98
commit 1dbded56e1
1 changed files with 2 additions and 2 deletions

View File

@ -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