Friday, July 9, 2010

Google map directions?

my company has their own web site and my boss asked me to add a google map directions link to get to our office. The problem is i entered in the address to our office under "end address" ( in google maps) so that when a visitor visits our site, they click on the link and all they have to do is enter their address in start address. however, it seems like it just links to a regular google maps page. i dont see our address at all. how can i link it so that when someone clicks on the link the address in under end address and all they have to do is enter their address?? help!

Google map directions?
See the form below. saddr is the starting address; daddr is the destination address.





%26lt;form method="get" id="myForm" name="myForm" action="http://maps.google.com/maps"%26gt;


%26lt;label%26gt;Enter your full address, e.g., 123 My Street, My Town, ST 00000: %26lt;input id="saddr" name="saddr" type="text" size="30" maxlength="255" /%26gt;%26lt;/label%26gt;


%26lt;input type="hidden" name="daddr" id="daddr" value="123 Your Street, Your Town, ST, 00000" /%26gt;


%26lt;input type="hidden" name="hl" id="hl" value="en" /%26gt;


%26lt;input type="submit" name="submit" id="submit" value="Get Directions" /%26gt;


%26lt;/form%26gt;


No comments:

Post a Comment