From 6b77227a789b4e0ef9c7d92132b217d64672e6f9 Mon Sep 17 00:00:00 2001 From: Jon Atkins Date: Sun, 17 Mar 2013 01:37:04 +0000 Subject: [PATCH] render limit plugin: increase to 5 times the IITC defaults --- CHANGES.md | 1 + plugins/render-limit-increase.user.js | 8 ++++---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index 74342ae2..9c731098 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -6,3 +6,4 @@ Since the last version from breunigs, the following changes have been made * Fix up URLs to point to new hosting (icons, etc). * Removed forced redirect from http to https - it should work on either now. * Player tracker: change line colour to yellow, increase time to 3 hours +* render limit plugin: increase to 5 times the in-built defaults diff --git a/plugins/render-limit-increase.user.js b/plugins/render-limit-increase.user.js index 93e3f223..5522a2bd 100644 --- a/plugins/render-limit-increase.user.js +++ b/plugins/render-limit-increase.user.js @@ -1,7 +1,7 @@ // ==UserScript== // @id iitc-plugin-render-limit-increase@jonatkins // @name iitc: render limit increase -// @version 0.1.2 +// @version 0.2 // @namespace https://github.com/jonatkins/ingress-intel-total-conversion // @updateURL http://iitc.jonatkins.com/dist/plugins/render-limit-increase.user.js // @downloadURL http://iitc.jonatkins.com/dist/plugins/render-limit-increase.user.js @@ -38,9 +38,9 @@ window.plugin.renderLimitIncrease.setHigherLimits = function() { // Leaflet will get very slow for MANY items. It’s better to display // only some instead of crashing the browser. // defaults are 1000 portals, 400 links and 200 fields - window.MAX_DRAWN_PORTALS = 3000; - window.MAX_DRAWN_LINKS = 1000; - window.MAX_DRAWN_FIELDS = 500; + window.MAX_DRAWN_PORTALS = 5000; + window.MAX_DRAWN_LINKS = 2000; + window.MAX_DRAWN_FIELDS = 1000; window.USE_INCREASED_RENDER_LIMIT = true; // Used for other plugins };