On Sep 5, 6:40 am, ajax <[EMAIL PROTECTED]> wrote:
> Thanks for reply ! The script is working now.
> I have another map application who tracks routes with
> polylines it seems to have
> the same problem , however uses PHP to get the
> points (lat, long) from MySQL database :
> $loadfunc = "load();" ; // defines the load
> function from external JS file in <head> section
> <body onLoad="<?php $loadfunc; ?>"
> onunload="GUnload()"> // load maps in the page.
> echo "<li id=\"Hmap\"><a href=\"#tab-map\" onClick=
> \"Display.choose('map');\">Map</a></li>"; // Tab
> echo "<div id=\"map\" class=\"tab\"></div>\n"; // div
> shows maps
> echo "<script type=\"text/javascript\" src=\'".GEO_URL_ROOT."/
> get/gmaps.php?r=".$routeObj->id."></script>"; //
> this echo loads the Google Maps script.
>
> BUT the maps are not displayed in the
> browser as you can look in the link :
> http://www.mytrailrecord.com/mytrailrecord/index.php?r=2#tab-map
> The other #tabs working fine.
Do you not see the javascript error:
Line: 57 (per IE...)
Error: 'Panoramio' is undefined
You might want to include the API before the code that uses it.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---