Using geolocation to automatically generate a route and directions in google maps