Bump for client headers on connect PR

This commit is contained in:
Dave Conway-Jones 2023-07-15 13:08:06 +01:00
parent 71940b811f
commit 1afcddeca1
No known key found for this signature in database
GPG Key ID: 1DDB0E91A28C2643
4 changed files with 7 additions and 5 deletions

View File

@ -1,5 +1,6 @@
### Change Log for Node-RED Worldmap
- v2.38.0 - Return client headers as part of connect message.
- v2.37.4 - Fix sessionid specific data not to be sent on reload/refresh
- v2.37.3 - Fix hang on layer change
- v2.37.2 - If custom layer is only layer then show it automatically. Issue #230

View File

@ -13,6 +13,7 @@ Feel free to [![](https://img.shields.io/static/v1?label=Sponsor&message=%E2%9D%
### Updates
- v2.38.0 - Return client headers as part of connect message.
- v2.37.4 - Fix sessionid specific data not to be sent on reload/refresh
- v2.37.3 - Fix hang on layer change
- v2.37.2 - If custom layer is only layer then show it automatically. Issue #230

View File

@ -1,6 +1,6 @@
{
"name": "node-red-contrib-web-worldmap",
"version": "2.37.4",
"version": "2.38.0",
"description": "A Node-RED node to provide a web page of a world map for plotting things on.",
"dependencies": {
"@turf/bezier-spline": "~6.5.0",

View File

@ -751,10 +751,6 @@ map.on('moveend', function() {
map.on('locationfound', onLocationFound);
map.on('locationerror', onLocationError);
//map.on('contextmenu', function(e) {
// ws.send(JSON.stringify({action:"rightclick", lat:e.latlng.lat.toFixed(5), lon:e.latlng.lng.toFixed(5)}));
//});
// single right click to add a marker
var addmenu = "<b>Add marker</b><br><input type='text' id='rinput' autofocus onkeydown='if (event.keyCode == 13) addThing();' placeholder='name (,icon/SIDC, layer, colour, heading)'/>";
if (navigator.onLine) { addmenu += '<br/><a href="https://spatialillusions.com/unitgenerator/" target="_new">MilSymbol SIDC generator</a>'; }
@ -809,6 +805,10 @@ var addToForm = function(n,v) {
form[n] = v;
}
// map.on('click', function(e) {
// ws.send(JSON.stringify({action:"click", lat:e.latlng.lat.toFixed(5), lon:e.latlng.lng.toFixed(5)}));
// });
// allow double right click to zoom out (if enabled)
// single right click opens a message window that adds a marker
var rclicked = false;