node-red-contrib-web-worldmap 2.22.0 → 2.22.1

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 CHANGED
@@ -1,5 +1,6 @@
1
1
  ### Change Log for Node-RED Worldmap
2
2
 
3
+ - v2.22.1 - Be more tolerant of speed string types
3
4
  - v2.22.0 - Separate out layer events in worldmap in
4
5
  - v2.21.9 - Unbreak Drawing layer that I must have broken recently
5
6
  - v2.21.8 - Let SIDC/icon short code be only 4 chars long
package/README.md CHANGED
@@ -11,6 +11,7 @@ map web page for plotting "things" on.
11
11
 
12
12
  ### Updates
13
13
 
14
+ - v2.22.1 - Be more tolerant of speed string types
14
15
  - v2.22.0 - Separate out layer events in worldmap in
15
16
  - v2.21.9 - Unbreak Drawing layer that I must have broken recently
16
17
  - v2.21.8 - Let SIDC/icon short code be only 4 chars long
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "node-red-contrib-web-worldmap",
3
- "version": "2.22.0",
3
+ "version": "2.22.1",
4
4
  "description": "A Node-RED node to provide a web page of a world map for plotting things on.",
5
5
  "dependencies": {
6
6
  "@turf/bezier-spline": "~6.5.0",
@@ -1954,7 +1954,7 @@ function setMarker(data) {
1954
1954
  if (data.dashArray) { delete data.dashArray; }
1955
1955
  if (data.fill) { delete data.fill; }
1956
1956
  if (data.draggable) { delete data.draggable; }
1957
- if (!isNaN(data.speed)) { data.speed = data.speed.toFixed(2); }
1957
+ //if (!isNaN(data.speed)) { data.speed = data.speed.toFixed(2); }
1958
1958
  if (data.hasOwnProperty("clickable")) { delete data.clickable; }
1959
1959
  if (data.hasOwnProperty("fillColor")) { delete data.fillColor; }
1960
1960
  if (data.hasOwnProperty("radius")) { delete data.radius; }