Get directions from Google Maps

/ Published in: HTML
Save to your folder(s)

Copy this code and paste it in your HTML
  1. <form action="" method="get" target="_blank">
  2. <label for="saddr">Enter your location</label>
  3. <input type="text" name="saddr" />
  4. <input type="hidden" name="daddr" value="350 5th Ave New York, NY 10018 (Empire State Building)" />
  5. <input type="submit" value="Get directions" />
  6. </form>

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.