portals-count plugin: update warning to display sooner - niantic now filter portals in the backend more aggressively when zoomed out

This commit is contained in:
Jon Atkins
2015-01-08 13:41:19 +00:00
parent 65916de578
commit 8b7769d0bf

View File

@ -2,7 +2,7 @@
// @id iitc-plugin-portals-count@yenky
// @name IITC plugin: Show total counts of portals
// @category Info
// @version 0.1.1.@@DATETIMEVERSION@@
// @version 0.1.2.@@DATETIMEVERSION@@
// @namespace https://github.com/jonatkins/ingress-intel-total-conversion
// @updateURL @@UPDATEURL@@
// @downloadURL @@DOWNLOADURL@@
@ -183,7 +183,8 @@ window.plugin.portalcounts.getPortals = function (){
}
// I've only seen the backend reduce the portals returned for L4+ or further out zoom levels - but this could change
if (getMinPortalLevel() >= 4) {
// UPDATE: now seen for L2+ in dense areas (map zoom level 14 or lower)
if (getMinPortalLevel() >= 2) {
counts += '<p class="help" title="To reduce data usage and speed up map display, the backend servers only return some portals in dense areas."><b>Warning</b>: Portal counts can be inaccurate when zoomed out</p>';
}