Get Directions From Google Maps Form

  • by

Simple form to pop up a google maps page with directions.

saddr = Starting Address (postcode, full address etc)

daddr = Destination address (as above)

<form action="http://maps.google.com/maps" method="get" target="_blank"> 
   <label for="saddr">Enter your location</label> 
   <input type="text" name="saddr" /> 
   <input type="hidden" name="daddr" value="Tescos Newton Aycliffe" />
   <input type="submit" value="Get directions" />
</form>

Leave a Reply

Your email address will not be published. Required fields are marked *

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

This site uses Akismet to reduce spam. Learn how your comment data is processed.