Here is a simple yet powerful code to create a form where the user can enter his location to get directions to a specific place. Very useful for contact pages.