{"action":"closed","issue":{"url":"https://api.github.com/repos/arjunmehta/node-georedis/issues/3","labels_url":"https://api.github.com/repos/arjunmehta/node-georedis/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/arjunmehta/node-georedis/issues/3/comments","events_url":"https://api.github.com/repos/arjunmehta/node-georedis/issues/3/events","html_url":"https://github.com/arjunmehta/node-georedis/issues/3","id":109878377,"number":3,"title":"withDistances doesn't respect `units` parameter","user":{"login":"jesseditson","id":370239,"avatar_url":"https://avatars.githubusercontent.com/u/370239?v=3","gravatar_id":"","url":"https://api.github.com/users/jesseditson","html_url":"https://github.com/jesseditson","followers_url":"https://api.github.com/users/jesseditson/followers","following_url":"https://api.github.com/users/jesseditson/following{/other_user}","gists_url":"https://api.github.com/users/jesseditson/gists{/gist_id}","starred_url":"https://api.github.com/users/jesseditson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jesseditson/subscriptions","organizations_url":"https://api.github.com/users/jesseditson/orgs","repos_url":"https://api.github.com/users/jesseditson/repos","events_url":"https://api.github.com/users/jesseditson/events{/privacy}","received_events_url":"https://api.github.com/users/jesseditson/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-10-05T20:23:50Z","updated_at":"2015-10-06T01:05:26Z","closed_at":"2015-10-06T01:05:26Z","body":"Hey! I noticed that when doing a query like:\r\n\r\n```\r\ngeo.nearby(location, 0.5, { withDistances: true, units: 'mi' }, function(err, locations) {\r\n    // locations contain a distance key, but the distance is in meters\r\n})\r\n```\r\n\r\nNot a big deal (I can do the conversion on my side), but I figured it might be nice to have the units be consistent if it's an easy change."}}