> <displayPoints>
> var flightPlanCoordinates =
> [
> new google.maps.LatLng(-12.0452358, -77.0305699),
...
> </displayPoints>

The value of the XML node <displayPoints> is a long string
     "var flightPlanCoordinates = [ new
google.maps.LatLng(-12.0452358 ..... "
It doesn't matter if it _looks_ like javascript, its just a string.

When you try to create a polyline with a long string as a path, it
won't work.

Mike's example
  http://econym.org.uk/gmap/basic7.htm
is indeed for v2 API, but you are after all posting in the v2 group.

XML is XML regardless of v2 or v3 API, you could study how it works
and implement the same in v3
Trying to embed javascript into XML is making it hard on yourself.

If you want help with that, here is the v3 group
  http://groups.google.com/group/google-maps-js-api-v3/

-- 
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