Use geolocation services to get lat long
JavaScript
Switch branches/tags
Nothing to show
Permalink
Failed to load latest commit information.
bin initial commit May 30, 2013
README.md Change name to geolocate May 30, 2013
index.js Fix path to binary May 30, 2013
package.json Change name to geolocate May 30, 2013

README.md

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!