ditto ... no directions ?!?!?
have followed wizard to the letter .... but no directions ?!?!?
map locates to correct location
_map.php
please help
Thanks
nathan
page source code and wagmp_map_3.php file as follows ....
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<script type="text/javascript">
/*wagmp*/
<?php include("google_javascript/wagmp_map_3.php"); ?>
</script>
<script type="text/javascript" src="http://maps.google.com/maps?file=api&v=2&key=apikeynumberremovedfromcopyandpastesourcecode">/*wagmp*/</script>
</head>
<body>
<table width="650" border="0" cellspacing="0" cellpadding="0">
<tr>
<td>
<div id="wagmp_map_3" style="width: 500px; height: 500px;"></div>
<div id="wagmp_directions_3"></div></td>
<td valign="top"><form id="address" name="address" method="post" action="">
Address<br />
<input type="text" name="address" id="address" />
<br />
city
<br />
<input type="text" name="city" id="city" />
<br />
state<br />
<input type="text" name="state" id="state" />
<br />
Post Code
<br />
<input type="text" name="zip" id="zip" />
<input name="country" type="hidden" id="country" value="United Kingdom" />
<br />
<input type="submit" name="button" id="button" value="Get Directions" />
</form></td>
</tr>
</table>
<script type="text/javascript" src="google_javascript/wagmp_maps.js">/*wagmp*/</script>
</body>
</html>
extract of wagmp_map_3.php form binding code as follows ....
full .php file converted to txt file has been uploaded
var fromAddress = {
enabled: true,
street: '<?php echo str_replace("'", "\'", "".((isset($_POST["address"]))?$_POST["address"]:"") .""); ?>',
city: '<?php echo str_replace("'", "\'", "".((isset($_POST["city"]))?$_POST["city"]:"") .""); ?>',
state: '<?php echo str_replace("'", "\'", "".((isset($_POST["state"]))?$_POST["state"]:"") .""); ?>',
zip: '<?php echo str_replace("'", "\'", "".((isset($_POST["zip"]))?$_POST["zip"]:"") .""); ?>',
country: '<?php echo str_replace("'", "\'", "".((isset($_POST["country"]))?$_POST["country"]:"") .""); ?>',
full: '<?php echo str_replace("'", "\'", "".((isset($_POST["address"]))?$_POST["address"]:"") .""); ?>, <?php echo str_replace("'", "\'", "".((isset($_POST["city"]))?$_POST["city"]:"") .""); ?>, <?php echo str_replace("'", "\'", "".((isset($_POST["state"]))?$_POST["state"]:"") .""); ?>, <?php echo str_replace("'", "\'", "".((isset($_POST["zip"]))?$_POST["zip"]:"") .""); ?>, <?php echo str_replace("'", "\'", "".((isset($_POST["country"]))?$_POST["country"]:"") .""); ?>'
};
server has a _promaps_cache file with the following written to it
<?xml version="1.0" encoding="UTF-8"?>
<geocode_data version="1.0"><geocode_entry ID="Lighwood Road Longton Stoke-on-Trent Staffordshire ST3 4JG United Kingdom"><address><![CDATA[Lighwood Road Longton, Stoke-on-Trent, Staffordshire, ST3 4JG , United Kingdom]]></address><geocode><![CDATA[(52.9824802, -2.1298375)]]></geocode></geocode_entry><geocode_entry ID="Lighwood Road Longton Stoke-on-Trent Staffordshire ST3 4JG UK"><address><![CDATA[Lighwood Road Longton, Stoke-on-Trent, Staffordshire, ST3 4JG , UK]]></address><geocode><![CDATA[(52.9824802, -2.1298375)]]></geocode></geocode_entry><geocode_entry ID="Lighwood Road Longton Stoke-on-Trent Staffordshire ST3 4JG UK"><address><![CDATA[Lighwood Road Longton, Stoke-on-Trent, Staffordshire, ST3 4JG , UK]]></address><geocode><![CDATA[(52.9824802, -2.1298375)]]></geocode></geocode_entry><geocode_entry ID="Lighwood Road Longton Stoke-on-Trent Staffordshire ST3 4JG UK"><address><![CDATA[Lighwood Road Longton, Stoke-on-Trent, Staffordshire, ST3 4JG , UK]]></address><geocode><![CDATA[(52.9824802, -2.1298375)]]></geocode></geocode_entry></geocode_data>