Not able to get driving directions to show.
I have followed the solution for driving directions.
Here is the page
0000.php
unable to get page to show directions.
I have followed the solution for driving directions.
Here is the page
0000.php
unable to get page to show directions.
the google geocoder does not like your destination address:
1 East Wilshire Boulevard, Los Angeles, CA, 90017, USA
if I change that to :
700 East Wilshire Boulevard, Los Angeles, CA, 90017, USA
I can get the directions to return.
Jason,
That was it!
I usually forget to thank you after each time you solve my problems.
You do a great job!
Thank You,
Mike Moore
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>
there's a t in light ... Lightwood is spelt Lightwood ... not Lighwood !
moral of story spell check all address inputs !
thanks
nathan
didn't actually say .... directions work !
I have the same problem. not get direction. this is page uffici.php. why?
it doesn't look you have properly bound the directions settings.
On the 5th step of the pro maps wizard, you need to click the lightning bolt next to the From Street, City, State, etc... and select the corresponding form element on your page.
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
These out-of-the-box solutions provide you proven, tested applications that can be up and running now. Build a store, a gallery, or a web-based email solution.