diff --git a/code/map_data_request.js b/code/map_data_request.js index 6fa162d0..e39a7714 100644 --- a/code/map_data_request.js +++ b/code/map_data_request.js @@ -29,6 +29,10 @@ window.MapDataRequest = function() { // number of times to retry a tile after a 'bad' error (i.e. not a timeout) this.MAX_TILE_RETRIES = 2; + try { + // stock has a variable for this - try to use it + this.MAX_TILE_RETRIES = nemesis.dashboard.DataManager.MAX_QUADKEY_RETRY_ATTEMPTS_; + } catch(e) {} // refresh timers this.MOVE_REFRESH = 3; //time, after a map move (pan/zoom) before starting the refresh processing