Hi group!

I have a problem with a program I am doing.

The idea is to load a (heavy) xml with  GDownloadUrl (sorry i can´t
post any link)

--------------
GDownloadUrl("markers.xml", function(doc) {
    var xmlDoc = GXml.parse(doc);
    var markers = xmlDoc.documentElement.getElementsByTagName("point")
    for (var i = 0; i < markers.length; i++) {
                var nb=markers[i].getAttribute("nb");
                var adr=markers[i].getAttribute("dir")+", España";
    }
        found(0,markers);
});
------------

Where function found is a recursive function that uses getLocations to
convert the adress to coordinates of every point in the xml. For each
marker it returns true or false depending on it result.Status.code (if
it finds the given adress or not).

The problem is that, for the same point with the same adress,
sometimes ir returns true, and others irt returns false. It may be
that I am loading too much data at the same time?

Trank You in advance,

Jorge

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