Added comments for a few things, added button
This commit is contained in:
@ -43,6 +43,7 @@
|
||||
<div>
|
||||
<button type="click" id="tramSearch">Show all trams</button>
|
||||
<button type="click" id="busSearch">Show all buses</button>
|
||||
<button type="click" id="continousAll">Show all vehicles live</button>
|
||||
</div>
|
||||
</form>
|
||||
<form id="recievedData">
|
||||
@ -120,6 +121,10 @@
|
||||
document.getElementById('a40Search').addEventListener('click', function () {
|
||||
socket.emit('a40BulkSearch');
|
||||
});
|
||||
|
||||
document.getElementById('continousAll').addEventListener('click', function () {
|
||||
socket.emit('continousAllReq');
|
||||
});
|
||||
|
||||
|
||||
socket.on('takResults', (typeR, lineR, latR, longR, takR, latlongR, vehicleTypeR) => {
|
||||
|
Reference in New Issue
Block a user