Implement geolocation. Closes #1.