Thanks for your reply !!
But that isn't the problem !!
<displayPoints>
var flightPlanCoordinates =
[
new google.maps.LatLng(-12.0452358, -77.0305699),
new google.maps.LatLng(-12.0452365, -77.0305699),
new google.maps.LatLng(-12.0489947, -77.0387506),
new google.maps.LatLng(-12.0673559, -77.0370769),
new google.maps.LatLng(-12.1417531, -77.0194816)
];
</displayPoints>
var tracking = markers[i].getElementsByTagName("displayPoints")
[0].childNodes[0].nodeValue;
var flightPlanCoordinates = tracking;
var displayPolyline = setOver(flightPlanCoordinates,
"#FF0000");
function setOver(flightPlanCoordinates, color)
{
var name = new google.maps.Polyline({
path: flightPlanCoordinates,
strokeColor: color,
strokeOpacity: 0.75,
strokeWeight: 3
});
name.setMap(map);
}
--
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.