Example: getting the user position with HTML5 Geolocation API, then using google maps to find a route to the desired clicked location.
Modified http://maps.googleapis.com/maps/api/js?v=3.exp&sensor=false to a secure url
https://maps.googleapis.com/maps/api/js?v=3.exp&sensor=false