From cacb49f6115087208313264d7399a98c33cdcde4 Mon Sep 17 00:00:00 2001 From: Dave Conway-Jones Date: Mon, 16 Jul 2018 10:19:17 +0100 Subject: [PATCH] bugfix inline satellite icon --- CHANGELOG.md | 1 + README.md | 1 + package.json | 2 +- worldmap/index.html | 8 ++++---- worldmap/worldmap.appcache | 2 +- 5 files changed, 8 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3d04e15..72655de 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,6 @@ ### Change Log for Node-RED Worldmap + - v1.3.3 - Bugfix for inline satellite icon - v1.3.2 - Bugfix for inline svg icons - v1.3.1 - Allow `msg.payload.popup = true` to auto open the info popup. - v1.3.0 - Add initial 3D page (worldmap/index3d.html), Add ability to add KML, GPX and TOPOJSON overlay layers and optional zoom to fit. Change all http: links to https: diff --git a/README.md b/README.md index e8d714d..6b58e45 100644 --- a/README.md +++ b/README.md @@ -9,6 +9,7 @@ map web page for plotting "things" on. ### Updates +- v1.3.3 - Bugfix for inline satellite icon - v1.3.2 - Bugfix for inline svg icons - v1.3.1 - Allow `msg.payload.popup = true` to auto open the info popup. - v1.3.0 - Add initial 3D page (worldmap/index3d.html), Add ability to add KML, GPX and TOPOJSON overlay layers and optional zoom to fit. diff --git a/package.json b/package.json index 50f67be..061eeee 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "node-red-contrib-web-worldmap", - "version": "1.3.2", + "version": "1.3.3", "description": "A Node-RED node to provide a web page of a world map for plotting things on.", "dependencies": { "cgi": "0.3.1", diff --git a/worldmap/index.html b/worldmap/index.html index b225b7c..b2cfcce 100644 --- a/worldmap/index.html +++ b/worldmap/index.html @@ -890,7 +890,7 @@ function setMarker(data) { else if (data.icon === "uav") { data.iconColor = data.iconColor || "black"; if (data.hasOwnProperty("squawk")) { data.iconColor = "red"; } - icon = ''; + icon = ''; icon+= ''; var svguav = "data:image/svg+xml;base64," + btoa(icon); var dir = data.hdg || data.bearing; @@ -916,7 +916,7 @@ function setMarker(data) { } else if (data.icon === "arrow") { data.iconColor = data.iconColor || "black"; - icon = ''; + icon = ''; icon += ''; var svgarrow = "data:image/svg+xml;base64," + btoa(icon); var dir = data.hdg || data.bearing; @@ -929,7 +929,7 @@ function setMarker(data) { } else if (data.icon === "wind") { data.iconColor = data.iconColor || "black"; - icon = ''; + icon = ''; icon += ''; var svgwind = "data:image/svg+xml;base64," + btoa(icon); var dir = data.hdg || data.bearing; @@ -942,7 +942,7 @@ function setMarker(data) { } else if (data.icon === "satellite") { data.iconColor = data.iconColor || "black"; - icon = ''; + icon = ''; icon += ''; icon += ''; icon += ''; diff --git a/worldmap/worldmap.appcache b/worldmap/worldmap.appcache index 8cd7310..600112c 100644 --- a/worldmap/worldmap.appcache +++ b/worldmap/worldmap.appcache @@ -1,5 +1,5 @@ CACHE MANIFEST -# date: June 30th 2018 - v1.3.2 +# date: June 30th 2018 - v1.3.3 CACHE: index.html