I  have  this   Google  Maps  app   with  polylines  and  PHP +
MySql
http://djalmabina.100webspace.net/googleMaps78/track.php
however  the  javascript  Debbugger  in  Mozilla  shows  this  error
in  my  page   and  not  display  the  map  with  route  wanted :

1 ERROR :  missing ) after argument list
[Break on this error] var polyline = new GPolyline([new GLatLn...
0000\",5,8);\nmap.addOverlay(polyline);\n

That  code  bit   are  in  these  lines :
while($row = mysql_fetch_array($result))
{
  echo "var polyline = new GPolyline([";
  echo 'new GLatLng(" . $row["lat"] . "," . $row["lng"] . ")';
  echo '],\"#ff0000\",5,8);\n';
  echo "map.addOverlay(polyline);\n\n";
}
  The  loop  should  get  the  points   from  database  to   tracks
polyline.
   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
-~----------~----~----~----~------~----~------~--~---

Reply via email to