Interactive interface for browsing global, full-resolution satellite imagery
allow resolve on no response for tiles in promise tilelayer grid building
Edward Plato4e9992a5af4a
diff --git a/web/js/modules/map/util.js b/web/js/modules/map/util.jsindex 0038d62f4..89cf2daee 100644--- a/web/js/modules/map/util.js+++ b/web/js/modules/map/util.js@@ -263,8 +263,8 @@ var promiseTileLayer = function(layer, extent, viewState, pixelRatio) {resolve();}} else {- 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+ console.error('No response for tile request ' + layer.wv.key);+ 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 memorythis.un('tileloaderror', loader);