add day/night overlay

This commit is contained in:
Jakob Ketterl
2019-07-07 00:52:11 +02:00
parent 849337c55d
commit c22d10d0de
2 changed files with 147 additions and 0 deletions

View File

@ -108,6 +108,10 @@
zoom: 8
});
processUpdates(updateQueue);
$.getScript("/static/nite-overlay.js").done(function(){
nite.init(map);
setInterval(function() { nite.refresh() }, 10000); // every 10s
});
})
break
case "update":