A simple trip meter using the geolocation api