Adds geolocation functionality