display which portals are being requested

This commit is contained in:
Stefan Breunig
2013-02-01 15:36:42 +01:00
parent 8e08fba4d9
commit 50d21ce03a

View File

@ -45,5 +45,14 @@ window.renderUpdateStatus = function() {
if(window.failedRequestCount > 0)
t += ' ' + window.failedRequestCount + ' requests failed.'
t += '<br/><span title="not removing portals as long as you keep them in view, though">(';
var conv = ['impossible', 8,8,7,7,6,6,5,5,4,4,3,3,2,2,1];
var z = map.getZoom();
if(z >= 16)
t += 'requesting all portals';
else
t+= 'only requesting portals with level '+conv[z]+' and up';
t += ')</span>';
$('#updatestatus').html(t);
}