Add feedback via ws utility function

This commit is contained in:
Dave Conway-Jones 2019-03-07 22:28:41 +00:00
parent 8de8cc95b1
commit 776663e426
No known key found for this signature in database
GPG Key ID: 9E7F9C73F5168CD4
2 changed files with 5 additions and 1 deletions

View File

@ -634,6 +634,10 @@ var addThing = function() {
map.addLayer(layers[lay]);
}
var feedback = function(n,v) {
ws.send(JSON.stringify({action:"feedback", name:n, value:v}));
}
// allow double right click to zoom out (if enabled)
// single right click opens a message window that adds a marker
var rclicked = false;

View File

@ -1,5 +1,5 @@
CACHE MANIFEST
# date: Mar 2nd 2019 - v1.5.29
# date: Mar 2nd 2019 - v1.5.29a
CACHE:
index.html