Fix bug in map script for dashboard #299

This commit is contained in:
Kendrick Chan 2020-01-19 00:19:49 +08:00
parent 425c235ca6
commit b435cdfa1b

View file

@ -21,9 +21,11 @@ function initMap() {
var map = mapCreate('dashboard_map', default_lat, default_lng, 'road', 13);
}
</script>
{{ include('map/' ~ map_js_file) }}
<script>
// TODO: put this in .env
var mqtt;
var timeout = 2000;