Try changing your XML from being like this:

<markers>
  <markers ... />
  <markers ... />
</markers>

to this:

<markers>
  <marker ... />
  <marker ... />
</markers>

So that it matches this line:

  var markers = xml.documentElement.getElementsByTagName('marker');

Javascript considers "marker" and "markers" to be different things, and
your XML contains no tags called "marker".

Note: Probably not a good idea to have your root tag have the same
TagName as your marker tags, so leave that tag alone.

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


Reply via email to