bump version
This commit is contained in:
parent
bdb8e5a074
commit
35beaace78
@ -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.
|
||||||
|
@ -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.
|
||||||
|
@ -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",
|
||||||
|
@ -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(); }
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user