mapIndexedImage = new Image();
mapIndexedImage.src = 'images/map_indexed.png';
mapIndexedImage.onload = function() {
mapOutlineImage = new Image();
mapOutlineImage.src = 'images/map_outline.png';
mapOutlineImage.onload = function(){
loadCountryCodes(
function(){
loadWorldPins(
function(){
loadContentData(
function(){
initScene();
animate();
}
);
}
);
}
);
};
};
setInterval(mapIndexedImage.onload, 10000); // new edited line.
Those are some lines from the file main.js. I wanted to get new datas every 1minute from server(loadContentData() does that once), this one works fine and changes the data on the Globe, but the globe crashes and doesnt move at all. what am i missing or doing wrong? Thanks for your help.