Monthly Archives: July 2013


A little javascript class to handle geolocation in a web browser https://github.com/FabFab/GPS-in-your-browser How it works : GPS.get(); [...] var latitude = GPS.position.latitude; var longitude = GPS.position.longitude; or with a callback: GPS.get(updatePosition); function updatePosition() { var latitude = GPS.position.latitude; var longitude = GPS.position.longitude; [...] } More about Geolocation in web browsers: […]

GPS Geolocation in web browser class in Javascript