From 274cece2a1a32fab7ff47f2487714bc7c3aefc04 Mon Sep 17 00:00:00 2001 From: Jelmer van der Linde Date: Sat, 23 Dec 2017 12:26:51 +0100 Subject: [PATCH] Enable real colors by default --- index.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/index.html b/index.html index 8a55ebc..c3d4736 100644 --- a/index.html +++ b/index.html @@ -158,7 +158,9 @@ }).addTo(map).addData(geojson); }); - let useRealColors = false; + let useRealColors = true; + + document.querySelector('input[name=real-colors]').checked = useRealColors; document.querySelector('input[name=real-colors]').addEventListener('change', function(e) { useRealColors = this.checked;