You have two variables called "markers", the global one is an array
var markers = [];
the local one is a HTMLCollection object
var markers = xml.documentElement.getElementsByTagName("marker");
Your markers.push() command tries to perform an array operation on the
HTMLCollection.
Try giving your variables different names.
--
Mike Williams
http://econym.org.uk/gmap
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---