your code has this:
downloadUrl("min_genxml3_gm.php", function(data) {
var xml = data.responseText;
var markers = xml.documentElement.getElementByTagName("marker");
but the original parsed the XML text into a DOM using the parseXml()
function:
http://code.google.com/apis/maps/articles/phpsqlajax_v3.html#createmap
downloadUrl("phpsqlajax_genxml.php", function(data) {
var xml = parseXml(data);
var markers = xml.documentElement.getElementsByTagName("marker");
....
--
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.