Get Directions Form (Google Maps)

Submitted by:J Kamy81

Date added:22 June, 2017

Category:HTML

HTML code Snippet to get directions form (Google Maps)
saddr = blank input field for entering START address
daddr = hard-coded END address

Tags: google maps

Code Snippet:

<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="244 Madison Ave, New York, NY 10016" />
<input type="submit" value="Get directions" />
</form>
 
 

Comments