node-red-contrib-web-worldmap 2.22.1 → 2.22.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +1 -1
- package/README.md +1 -1
- package/package.json +1 -1
- package/worldmap/worldmap.js +1 -1
- package/worldmap.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
### Change Log for Node-RED Worldmap
|
|
2
2
|
|
|
3
|
-
- v2.22.
|
|
3
|
+
- v2.22.2 - Be more tolerant of speed string types
|
|
4
4
|
- v2.22.0 - Separate out layer events in worldmap in
|
|
5
5
|
- v2.21.9 - Unbreak Drawing layer that I must have broken recently
|
|
6
6
|
- v2.21.8 - Let SIDC/icon short code be only 4 chars long
|
package/README.md
CHANGED
|
@@ -11,7 +11,7 @@ map web page for plotting "things" on.
|
|
|
11
11
|
|
|
12
12
|
### Updates
|
|
13
13
|
|
|
14
|
-
- v2.22.
|
|
14
|
+
- v2.22.2 - Be more tolerant of speed string types
|
|
15
15
|
- v2.22.0 - Separate out layer events in worldmap in
|
|
16
16
|
- v2.21.9 - Unbreak Drawing layer that I must have broken recently
|
|
17
17
|
- v2.21.8 - Let SIDC/icon short code be only 4 chars long
|
package/package.json
CHANGED
package/worldmap/worldmap.js
CHANGED
|
@@ -1340,7 +1340,7 @@ function setMarker(data) {
|
|
|
1340
1340
|
}
|
|
1341
1341
|
|
|
1342
1342
|
// console.log("DATA", typeof data, data);
|
|
1343
|
-
if (data.deleted) { // remove markers we are told to
|
|
1343
|
+
if (data.deleted == true) { // remove markers we are told to
|
|
1344
1344
|
delMarker(data.name);
|
|
1345
1345
|
return;
|
|
1346
1346
|
}
|
package/worldmap.js
CHANGED
|
@@ -252,7 +252,7 @@ module.exports = function(RED) {
|
|
|
252
252
|
if ((node.events.indexOf("point")!==-1) && ((message.action === "point")||(message.action === "move")||(message.action === "delete") )) {
|
|
253
253
|
setImmediate(function() {node.send({payload:message, topic:node.path.substr(1), _sessionid:client.id, _sessionip:sessionip})});
|
|
254
254
|
}
|
|
255
|
-
if ((node.events.indexOf("layer")!==-1) && (
|
|
255
|
+
if ((node.events.indexOf("layer")!==-1) && (message.action.indexOf("layer") !== -1) ) {
|
|
256
256
|
setImmediate(function() {node.send({payload:message, topic:node.path.substr(1), _sessionid:client.id, _sessionip:sessionip})});
|
|
257
257
|
}
|
|
258
258
|
if ((node.events.indexOf("files")!==-1) && (message.action === "file")) {
|