render limit plugin: increase to 5 times the IITC defaults
This commit is contained in:
parent
9a581061e1
commit
6b77227a78
@ -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).
|
* Fix up URLs to point to new hosting (icons, etc).
|
||||||
* Removed forced redirect from http to https - it should work on either now.
|
* 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
|
* Player tracker: change line colour to yellow, increase time to 3 hours
|
||||||
|
* render limit plugin: increase to 5 times the in-built defaults
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
// ==UserScript==
|
// ==UserScript==
|
||||||
// @id iitc-plugin-render-limit-increase@jonatkins
|
// @id iitc-plugin-render-limit-increase@jonatkins
|
||||||
// @name iitc: render limit increase
|
// @name iitc: render limit increase
|
||||||
// @version 0.1.2
|
// @version 0.2
|
||||||
// @namespace https://github.com/jonatkins/ingress-intel-total-conversion
|
// @namespace https://github.com/jonatkins/ingress-intel-total-conversion
|
||||||
// @updateURL http://iitc.jonatkins.com/dist/plugins/render-limit-increase.user.js
|
// @updateURL http://iitc.jonatkins.com/dist/plugins/render-limit-increase.user.js
|
||||||
// @downloadURL 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
|
// Leaflet will get very slow for MANY items. It’s better to display
|
||||||
// only some instead of crashing the browser.
|
// only some instead of crashing the browser.
|
||||||
// defaults are 1000 portals, 400 links and 200 fields
|
// defaults are 1000 portals, 400 links and 200 fields
|
||||||
window.MAX_DRAWN_PORTALS = 3000;
|
window.MAX_DRAWN_PORTALS = 5000;
|
||||||
window.MAX_DRAWN_LINKS = 1000;
|
window.MAX_DRAWN_LINKS = 2000;
|
||||||
window.MAX_DRAWN_FIELDS = 500;
|
window.MAX_DRAWN_FIELDS = 1000;
|
||||||
window.USE_INCREASED_RENDER_LIMIT = true; // Used for other plugins
|
window.USE_INCREASED_RENDER_LIMIT = true; // Used for other plugins
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user