> -----Original Message-----
> From: Trueskool [mailto:james...@gmail.com]
> Secondly, I was just wondering if there was code or something to
> include a "Get Directions" link in the markets popup window. I'm
> guessing it would take the location and then run the directions
> command.
If you look at my site - http://www.trileisure.com/map, I have a 2nd tab
in the info window with a form to get an address and provide directions
to the location. The code for the 2nd tab is:
<div title="Directions">
<form method="post" action="/get_map.php"
onsubmit="location.href='http://maps.google.com/maps?q=from+'+
this.addr.value + '+to+53.550252,-113.935862&f=d&hl=en';
return false;">
<P>
<br>Directions to here from: <br/>
<input type="text" size="40" name="addr" />
<br />
<input type="submit" value="Get Directions To Here" />
<br>[opens in a new window]
</P>
</form>
</div>
This does a query to google maps and brings up the results in their
window.
HTH
Rob