hello people. I need help to complete this GPS trail
application in PHP because it not display the Google map
for routes.
The div map I placed in this echo :
echo "<li id=\"Hmap\"><a href=\"#tab-map\" onClick=
\"Display.choose('map');\">Map</a></li>";
The Javascript code is embbed in this echo:
echo "<script type=\"text/javascript\" src=\"".GEO_URL_ROOT."/get/
gmaps.php?r=".$routeObj->id."\"></script>";
Constant GEO_URL_ROOT ="http://www.mytrailrecord/mytrailrecord" is
defined in another define file.
The Google Maps API key sets in my index.php
on the <head> :
<script src="http://maps.google.com/maps?
file=api&v=2&key=ABQIAAAAHonkVQCejOuoYoJB5stcxhSl2Yp2T7ibpwGX1t5d69HqoDEQ8RT3BpvYyUoJFglm6tIyDkky5uhkEQ"
type="text/javascript"></script>
the <body> section loads the load( ) function to map that
defined in a JS file also included in the index.php.
However, all features from trail are displayed correctly
except the trail map.
I am newbie in Google Maps API and I not found where is
the error yet.
thanks.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Maps API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/Google-Maps-API?hl=en
-~----------~----~----~----~------~----~------~--~---