From 9ab2d43bf51eedfb7e01a8b14fd6241d344cb73d Mon Sep 17 00:00:00 2001 From: Rand McKinney Date: Tue, 21 Jan 2014 14:48:02 -0800 Subject: [PATCH] Small change to text webhook. --- docs/api-geopoint.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/api-geopoint.md b/docs/api-geopoint.md index 73eca7b7..2f77c0dd 100644 --- a/docs/api-geopoint.md +++ b/docs/api-geopoint.md @@ -44,7 +44,7 @@ CoffeeShop.find({where: {location: {near: here}}, limit:3}, function(err, nearby #### geoPoint.distanceTo(geoPoint, options) -Get the distance to another `GeoPoint`. +Get the distance to another `GeoPoint`; for example: ```js 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) -Get the distance between two points. +Get the distance between two points; for example: ```js GeoPoint.distanceBetween(here, there, {type: 'miles'}) // 438