> I am trying build the map route with a polyline between
> the first and last point stored in the database. It
> persists an error not displaying the polyline only the
> map of zone here
> --http://djalmabina.100webspace.net/googleMaps78/track.php
Ooh another new page with an unrelated problem.
If you 'view source' on your page, you will see that the map script
contains many lines like -
var polyline = new GPolyline([],"#ff0000", 8);
map.addOverlay(polyline);
Using 'view source' is a valuable debugging aid, so learn to do it.
Clearly your PHP script has 'forgotten' to add the GLatLng you were
expecting. That seems to be associated with a loop through array
$points, so perhaps you really need to have a hard look at what
$points contains.
cheers, Ross K.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---