kopia lustrzana https://github.com/geodienst/lighthousemap
Enable real colors by default
rodzic
22996b89f0
commit
274cece2a1
|
@ -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;
|
||||
|
|
Ładowanie…
Reference in New Issue