bump version

This commit is contained in:
Dave Conway-Jones 2021-09-16 16:10:58 +01:00
parent bdb8e5a074
commit 35beaace78
No known key found for this signature in database
GPG Key ID: 88BA2B8A411BE9FF
4 changed files with 5 additions and 5 deletions

View File

@ -1,6 +1,6 @@
### Change Log for Node-RED Worldmap ### Change Log for Node-RED Worldmap
- v2.15.6 - Tidy up geoJson handling a bit more. - v2.15.7 - Tidy up geoJson handling a bit more.
- v2.15.5 - Fix SIDC icons to accept unicoded icons as labels. - v2.15.5 - Fix SIDC icons to accept unicoded icons as labels.
- v2.15.4 - Let clear heatmap command do what it says. - v2.15.4 - Let clear heatmap command do what it says.
- v2.15.3 - Fix panit command to work, try to use alt units, popup alignments. - v2.15.3 - Fix panit command to work, try to use alt units, popup alignments.

View File

@ -11,7 +11,7 @@ map web page for plotting "things" on.
### Updates ### Updates
- v2.15.6 - Tidy up geoJson handling a bit more. - v2.15.7 - Tidy up geoJson handling a bit more.
- v2.15.5 - Fix SIDC icons to accept unicoded icons as labels. - v2.15.5 - Fix SIDC icons to accept unicoded icons as labels.
- v2.15.4 - Let clear heatmap command do what it says. - v2.15.4 - Let clear heatmap command do what it says.
- v2.15.3 - Fix panit command to work, try to use alt units, popup alignments. - v2.15.3 - Fix panit command to work, try to use alt units, popup alignments.

View File

@ -1,6 +1,6 @@
{ {
"name": "node-red-contrib-web-worldmap", "name": "node-red-contrib-web-worldmap",
"version": "2.15.6", "version": "2.15.7",
"description": "A Node-RED node to provide a web page of a world map for plotting things on.", "description": "A Node-RED node to provide a web page of a world map for plotting things on.",
"dependencies": { "dependencies": {
"cgi": "0.3.1", "cgi": "0.3.1",

View File

@ -662,7 +662,7 @@ map.on('moveend', function() {
var addmenu = "<b>Add marker</b><br><input type='text' id='rinput' autofocus onkeydown='if (event.keyCode == 13) addThing();' placeholder='name (,icon, layer, colour, heading)'/>"; var addmenu = "<b>Add marker</b><br><input type='text' id='rinput' autofocus onkeydown='if (event.keyCode == 13) addThing();' placeholder='name (,icon, layer, colour, heading)'/>";
var rightmenuMap = L.popup({keepInView:true, minWidth:250}).setContent(addmenu); var rightmenuMap = L.popup({keepInView:true, minWidth:250}).setContent(addmenu);
var rclk; var rclk = {};
var hiderightclick = false; var hiderightclick = false;
var addThing = function() { var addThing = function() {
var thing = document.getElementById('rinput').value; var thing = document.getElementById('rinput').value;
@ -697,7 +697,7 @@ var feedback = function(n,v,a,c) {
} }
else { else {
if (n === undefined) { n = "map"; } if (n === undefined) { n = "map"; }
ws.send(JSON.stringify({action:a||"feedback", name:n, value:v, lat:rclk.lat, lon:rclk.lng,})); ws.send(JSON.stringify({action:a||"feedback", name:n, value:v, lat:rclk.lat, lon:rclk.lng}));
} }
if (c === true) { map.closePopup(); } if (c === true) { map.closePopup(); }
} }