>Loading 'only' 70 KML files is bound to be a bit fraught, generating
>lots of unnecessary traffic.
Is it because I make too much request that I get data from
sorry.google.com?
Can I use GGeoXML with setTimeout to resolve the problem
Here is an example of what i thought to resolve the sorry.google.com:
<script type="text/javascript">
var next=0;
var file=[file1.kml,file2.kml];
function load_kml(){
layer[next] = new GGeoXML('foo.bar'+file[next]);
map.addOverlay(layer[next]);
Next();
}
function Next(){
if(next<limit){
setTimeout('load_kml()',500);
next++;
}
}
setTimeout('Next()',100);
</script>
--
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.