From ffc056505fd8a4b0ff3f62568f0cf9e242e484e0 Mon Sep 17 00:00:00 2001 From: Jon Atkins Date: Sat, 22 Mar 2014 03:05:27 +0000 Subject: [PATCH] switch to non-minified leaflet-src.js (see 480381d5e970452a275aa44a0d3d168b0fd9cc2b) and enabled L_PREFER_CANVAS --- code/boot.js | 2 +- main.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/code/boot.js b/code/boot.js index e1acdd9d..18b27b37 100644 --- a/code/boot.js +++ b/code/boot.js @@ -665,7 +665,7 @@ function boot() { @@INCLUDERAW:external/load.js@@ try { console.log('Loading included JS now'); } catch(e) {} -@@INCLUDERAW:external/leaflet.js@@ +@@INCLUDERAW:external/leaflet-src.js@@ @@INCLUDERAW:external/L.Geodesic.js@@ // modified version of https://github.com/shramov/leaflet-plugins. Also // contains the default Ingress map style. diff --git a/main.js b/main.js index 6a4146ff..c4ae0f5f 100644 --- a/main.js +++ b/main.js @@ -130,7 +130,7 @@ try { // Disabled for now because it has several bugs: flickering, constant // CPU usage and it continuously fires the moveend event. -//L_PREFER_CANVAS = false; +L_PREFER_CANVAS = true; // CONFIG OPTIONS //////////////////////////////////////////////////// window.REFRESH = 30; // refresh view every 30s (base time)