geolocate

0.0.1 • Public • Published

geolocate

Use geolocation services to get lat long. Currently only works on OSX Snow Leopard or greater, but I'd love contributions for other platforms.

 
var geolocate = require('geolocate');
geolocate(function(latLong){
   var latitude = latLong[0];
   var longitude = latLong[1];
});
 

Thanks to https://github.com/robmathers/WhereAmI for the actual heavy lifting!

Dependents (1)

Package Sidebar

Install

npm i geolocate

Weekly Downloads

3

Version

0.0.1

License

BSD

Last publish

Collaborators

  • johnkpaul