diff --git a/plugins/portal-counts.user.js b/plugins/portal-counts.user.js index 63a83d1d..1688d358 100644 --- a/plugins/portal-counts.user.js +++ b/plugins/portal-counts.user.js @@ -2,7 +2,7 @@ // @id iitc-plugin-portals-count@yenky // @name IITC plugin: Show total counts of portals // @category Info -// @version 0.1.0.@@DATETIMEVERSION@@ +// @version 0.1.1.@@DATETIMEVERSION@@ // @namespace https://github.com/jonatkins/ingress-intel-total-conversion // @updateURL @@UPDATEURL@@ // @downloadURL @@DOWNLOADURL@@ @@ -178,8 +178,14 @@ window.plugin.portalcounts.getPortals = function (){ } counts += $("
No Portals in range!
'; + } + + // I've only seen the backend reduce the portals returned for L4+ or further out zoom levels - but this could change + if (getMinPortalLevel() >= 4) { + counts += 'Warning: Portal counts can be inaccurate when zoomed out
'; + } var total = self.enlP + self.resP + self.neuP; var title = total + ' ' + (total == 1 ? 'portal' : 'portals');