diff --git a/static/scripts/websocket.js b/static/scripts/websocket.js index 8105435..1ec5041 100644 --- a/static/scripts/websocket.js +++ b/static/scripts/websocket.js @@ -207,6 +207,9 @@ window.addEventListener("load", function(evt) { }; document.getElementById("replaystarten").onclick = function(evt) { + emptyTCP.features[0].geometry.coordinates = [] + emptySERIAL.features[0].geometry.coordinates = [] + let sel = document.getElementById("meas") console.log(trackings[sel.selectedIndex].UUID) fetch(`http://localhost:3011/trackings/${trackings[sel.selectedIndex].UUID}?replay=true`, { method: 'GET'}).then(results => {