switch to non-minified leaflet-src.js (see 480381d5e970452a275aa44a0d3d168b0fd9cc2b) and enabled L_PREFER_CANVAS
This commit is contained in:
parent
480381d5e9
commit
ffc056505f
@ -665,7 +665,7 @@ function boot() {
|
|||||||
@@INCLUDERAW:external/load.js@@
|
@@INCLUDERAW:external/load.js@@
|
||||||
|
|
||||||
try { console.log('Loading included JS now'); } catch(e) {}
|
try { console.log('Loading included JS now'); } catch(e) {}
|
||||||
@@INCLUDERAW:external/leaflet.js@@
|
@@INCLUDERAW:external/leaflet-src.js@@
|
||||||
@@INCLUDERAW:external/L.Geodesic.js@@
|
@@INCLUDERAW:external/L.Geodesic.js@@
|
||||||
// modified version of https://github.com/shramov/leaflet-plugins. Also
|
// modified version of https://github.com/shramov/leaflet-plugins. Also
|
||||||
// contains the default Ingress map style.
|
// contains the default Ingress map style.
|
||||||
|
2
main.js
2
main.js
@ -130,7 +130,7 @@ try {
|
|||||||
// Disabled for now because it has several bugs: flickering, constant
|
// Disabled for now because it has several bugs: flickering, constant
|
||||||
// CPU usage and it continuously fires the moveend event.
|
// CPU usage and it continuously fires the moveend event.
|
||||||
|
|
||||||
//L_PREFER_CANVAS = false;
|
L_PREFER_CANVAS = true;
|
||||||
|
|
||||||
// CONFIG OPTIONS ////////////////////////////////////////////////////
|
// CONFIG OPTIONS ////////////////////////////////////////////////////
|
||||||
window.REFRESH = 30; // refresh view every 30s (base time)
|
window.REFRESH = 30; // refresh view every 30s (base time)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user