I have successfully plotted a number of points from an xml file which
contains long & lat coordinates from a database - I would now like to
improve the accuracy a little by geocoding the postcode which is also
held in the datbase & xml file. next - any help appreciated.

My code reaches the point where the variable pcode but I am stuck as
to where I go

   ...GDownloadUrl("mapdata.xml", function(data) {
        var xml = GXml.parse(data);
        var markers = xml.documentElement.getElementsByTagName
("marker");
        for (var i = 0; i < markers.length; i++) {
          var name = markers[i].getAttribute("name");
          var address = markers[i].getAttribute("address");
          var mcol = markers[i].getAttribute("mColor");
          var pcode = markers[i].getAttribute("pCode");
          pcode=pcode.replace("-"," ");

--

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