Skip to content

Commit 26bca44

Browse files
committed
Bump for PR #295
1 parent 2f1ac06 commit 26bca44

File tree

5 files changed

+6
-4
lines changed

5 files changed

+6
-4
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
### Change Log for Node-RED Worldmap
22

3+
- v5.0.7 - Allow Tooltip options (see new example). #PR295.
34
- v5.0.6 - Tweak SIDC flag handling slightly to show direction if available and moving.
45
- v5.0.4 - Tweak CoT handling slightly.
56
- v5.0.3 - Add great context menu example flow. PR#290. Bump express lib. PR#291.

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ Feel free to [![](https://img.shields.io/static/v1?label=Sponsor&message=%E2%9D%
1313

1414
### Updates
1515

16+
- v5.0.7 - Allow Tooltip options (see new example). #PR295.
1617
- v5.0.6 - Tweak SIDC flag handling slightly to show direction if available and moving.
1718
- v5.0.4 - Tweak CoT handling slightly.
1819
- v5.0.3 - Add great context menu example flow. PR#290. Bump express lib. PR#291.

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "node-red-contrib-web-worldmap",
3-
"version": "5.0.6",
3+
"version": "5.0.7",
44
"description": "A Node-RED node to provide a web page of a world map for plotting things on.",
55
"dependencies": {
66
"@turf/bezier-spline": "~7.1.0",

worldmap/worldmap.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2387,7 +2387,7 @@ function setMarker(data) {
23872387
var track = data.track ?? data.COG ?? data.cog ?? data.hdg ?? data.heading ?? data.bearing;
23882388
if (track != undefined) { // if there is a heading
23892389
// Speed is in m/s
2390-
if (data.speed != null && data.length === undefined) { // and a speed - lets convert to a leader length
2390+
if (data.speed != null && data.length === undefined && !data?.SIDC) { // and a speed - lets convert to a leader length
23912391
data.length = parseFloat(data.speed || "0") * 60;
23922392
var re1 = new RegExp('kn|knot|kt|kts','i');
23932393
var re2 = new RegExp('kph|kmh','i');

0 commit comments

Comments
 (0)