link:
http://devshed.destination.ca/php-bin/google/kml/google2.php
I found something really annoying when throttling requests to google.
Actually I am only loading about 70 kml files one after the other...
Search for this part of the code in my javascript...
This is where I throttle the request...
//Layer definition
for(x=0;x < kml_filelist.length;x++){
if(kml_filelist[x].indexOf("marker") == "-1"){
layer[x] = new GGeoXml("http://devshed.destination.ca/php-
bin/google/"+ kml_filelist[x] + param);
map.addOverlay(layer[x]);
}
if(kml_filelist[x].indexOf("marker") != "-1"){
markers[x] = new GGeoXml("http://devshed.destination.ca/
php-bin/google/"+ kml_filelist[x] + param);
map.addOverlay(markers[x]);
}
}
Should I put setTimeout('function',delay); between request???
My it throttles, i can see data exchange between my server and
sorry.google.com but I cannot see the header while the operation is
running so I cannot figure what is the problem.
Any help would be appreciated...thanks in advance!
--
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.