display which portals are being requested
This commit is contained in:
@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user