Hi Larry,

Thank you for your reply. The moredata.xml file I have looks like
this:

<marker name="Jackie" lat="37.427770" lng="-122.144841" thread="12345"/
>

The thread attribute (I thought it was an element) has been added as
you can see. I've tried making changes to the code to parse this
additional attribute but I have not been successful.

What changes do I need to make to this code?

for (var i = 0; i < markers.length; i++) {
 var latlng = new
google.maps.LatLng(parseFloat(markers[i].getAttribute("lat")),
 parseFloat(markers[i].getAttribute("lng")));
 var marker = createMarker(markers[i].getAttribute("name"), latlng);
}

Thank you for your help.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" 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-js-api-v3?hl=en.

Reply via email to