Hello,
I'm trying to use this very nice piece of software
(thank to http://www.bisphamchurch.org.uk/   and http://econym.org.uk/gmap/
for sharing)

My page :
http://www.subflow.net/maps/mapstest3.php

I use "geofeedtest.php" file to get data about -Minimal stream
listeners-
and I wish add a second file to get data about -Ambient stream
listeners-

It seems i have to use GDownloadUrl two time (two call)
but how ? (I ve already to duplicate the first call in the code but
not working )
Thank you very much
Fred

The currently working code is :

      GDownloadUrl("geofeedtest.php", function(doc) {
        var xmlDoc = GXml.parse(doc);
        var markers = xmlDoc.documentElement.getElementsByTagName
("marker");

        for (var i = 0; i < markers.length; i++) {
          // obtain the attribues of each marker
          var lat = parseFloat(markers[i].getAttribute("lat"));
          var lng = parseFloat(markers[i].getAttribute("lng"));
          var point = new GLatLng(lat,lng);
          var address = markers[i].getAttribute("address");
          var name = markers[i].getAttribute("name");
          var html = "<b>"+name+"<\/b>"+"<br>"+address;
          var category = markers[i].getAttribute("category");
          // create the marker
          var marker = createMarker(point,name,html,category);
          map.addOverlay(marker);
        }


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