Private
Public Access
1
0

Chart refinements

This commit is contained in:
Sander Roosendaal
2019-11-19 11:11:32 +01:00
parent a5e6c8bc41
commit ff06efd45d
2 changed files with 17 additions and 3 deletions

View File

@@ -175,9 +175,11 @@
document.getElementById("{{ id }}").innerHTML = {{ id }}_now;
{% endfor %}
// gauge.set(catch_now);
var newLatLng = new L.LatLng(lat, lon);
// console.log(newLatLng);
marker.setLatLng(newLatLng);
try {
var newLatLng = new L.LatLng(lat, lon);
// console.log(newLatLng);
marker.setLatLng(newLatLng);
} catch (e) {}
}
if(videotime !== oldTime) {
onProgress(videotime);