Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

adjust tile precache promise to resolve itself even when tile url returns an error

Benjamind06e42ed37fe
diff --git a/web/js/map/wv.map.ui.js b/web/js/map/wv.map.ui.js
index 0521a7fec..af47edf64 100644
--- a/web/js/map/wv.map.ui.js
+++ b/web/js/map/wv.map.ui.js
@@ -427,7 +427,8 @@ wv.map.ui = wv.map.ui || function(models, config, Rotation, DataRunner) {
resolve();
}
} else {
- reject(new Error('No response at this URL'));
+ // reject(new Error('No response at this URL'));
+ resolve();// some gibs data is not accurate and rejecting this will break the animation if tile doesn't exist
}
this.un('tileloadend',loader); // remove event listeners from memory
this.un('tileloaderror', loader);