<form action="http://maps.google.com/maps" method="get"
target="_blank">
<p><label for="mapsUsSaddr">Your Address (street, city state)</label>
<input type="text" class="text" name="saddr" id="mapsUsSaddr" value=""
size="20" />
<input type="submit" class="submit" value="Map It" />
<input type="hidden" name="daddr" value="46 harbor lane, englewood fl"
/>
<input type="hidden" name="hl" value="en" /></p>
</form>
Alternately, if someone has driving directions working on one of your
maps, could you post the solution?
Here is the Code I used:
<div id="map "class="GMapEZ GMapTypeControl GSmallMapControl"
style="border: 1px solid #541E1E; width: 350px; height: 300px;">
<a
href="http://maps.google.com/maps?f=q&hl=en&q=12790+Bass+Lake+Road,+Maple+Grove,+MN+55369&ll=45.065913,-93.445029&spn=0.021733,0.053902&om=1">
RED P
</a>
<div style="width: 150px;">
<b>Princeton's Liquors</b><br/>
12790 Bass Lake Road<br />
Maple Grove, MN 55369<br />
Phone: (763) 559-325<br/>
<form action="http://maps.google.com/maps" target="_blank"
method="get" style="font-size: 8pt; text-align: left">
<label for="Box">Get Directions From: </label><br />
<input type="text" name="saddr" id="Box" value="" style="font-size:
8pt;" size="20"/>
<input type="hidden" name="daddr" value="12790 Bass Lake Road Maple
Grove, MN 55369" />
<input type="hidden" name="hl" value="en"/>
<input type="submit" value="Go! " style="font-size: 8pt"/></form>
</div>
</div>
It works fine, but in IE the InfoWindow becomes quite large for some
odd reason. It actually expands so it is way longer then necessary. I
am working on a fix.
~WebSage
What purpose did that serve?
The idea for that was to prevent infowindows from becoming wider than
the map in which they appear.
Obviously it didn't work. So I'll remove it from the next version of
GMapEZ.
Thanks,
--Chouser