diff --git a/iMeshDashboard/templates/map.html b/iMeshDashboard/templates/map.html index 4b8b3cd..5b261b8 100644 --- a/iMeshDashboard/templates/map.html +++ b/iMeshDashboard/templates/map.html @@ -121,15 +121,15 @@ } } } - + var timeSpan = (GetURLParameter('since') ? GetURLParameter('since') : '6'); for (k = 0; k < nodes.length; k++) { - if(parseInt(nodes[k][5]) <= parseInt(GetURLParameter('since'))) + if(parseInt(nodes[k][5]) <= parseInt(timeSpan)) { locations.push(nodes[k]); } } - - var selectedSpan = 'H'+GetURLParameter('since'); + + var selectedSpan = 'H'+ timeSpan; document.getElementById(selectedSpan).classList.add("bold"); @@ -200,7 +200,7 @@ tracking: true }); geolocation.on('change', function (evt) { - console.log(geolocation.getPosition()); + //console.log(geolocation.getPosition()); map.getView().setCenter(geolocation.getPosition()); }); diff --git a/setup.py b/setup.py index a08384a..3017b93 100644 --- a/setup.py +++ b/setup.py @@ -8,7 +8,7 @@ setuptools.setup( name = "iMesh-Dashboard", - version = "0.0.8", + version = "0.1.0", author = "iz1kga", author_email = "iz1kga@gmail.com", description = "Create Dashboard for serial connected meshtastic device",