added geolocation function to map