node-red-contrib-web-worldmap 4.2.0 → 4.2.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 +1 -0
- package/README.md +3 -2
- package/package.json +1 -1
- package/worldmap.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
### Change Log for Node-RED Worldmap
|
|
2
2
|
|
|
3
|
+
- v4.2.1 - Revert use of optional chaining to extend life slightly. Issue #252
|
|
3
4
|
- v4.2.0 - Let icons also be inline images data:image...
|
|
4
5
|
- v4.1.0 - Add optional SOG, COG, altft, altm input properties.
|
|
5
6
|
- v4.0.0 - Breaking - Better context menu variable substitution and retention
|
package/README.md
CHANGED
|
@@ -13,6 +13,7 @@ Feel free to [. See below.
|
|
70
71
|
- **building** : OSMbulding GeoJSON feature set to add 2.5D buildings to buildings layer. See below.
|
|
@@ -92,7 +93,7 @@ If you use the name without the fa- prefix (eg `male`) you will get the icon ins
|
|
|
92
93
|
|
|
93
94
|
You can also specify an emoji as the icon by using the :emoji name: syntax - for example `:smile:`. Here is a **[list of emojis](https://github.com/dceejay/RedMap/blob/master/emojilist.md)**.
|
|
94
95
|
|
|
95
|
-
Or you can specify an image to load as an icon by setting the icon to http(s)://... By default it will be scaled to 32x32 pixels. You can change the size by setting **iconSize** to a number - eg 64. Example icon - `"https://img.icons8.com/windows/32/000000/bird.png"`
|
|
96
|
+
Or you can specify an image to load as an icon by setting the icon to http(s)://... By default it will be scaled to 32x32 pixels. You can change the size by setting **iconSize** to a number - eg 64. Example icon - `"https://img.icons8.com/windows/32/000000/bird.png"` or you can use an inline image of the form data:image/... which uses a base64 encoded image.
|
|
96
97
|
|
|
97
98
|
There are also several special icons...
|
|
98
99
|
|
package/package.json
CHANGED
package/worldmap.js
CHANGED
|
@@ -126,7 +126,7 @@ module.exports = function(RED) {
|
|
|
126
126
|
if (message.action === "draw") {
|
|
127
127
|
delete message.action;
|
|
128
128
|
delete message.type;
|
|
129
|
-
delete message.options
|
|
129
|
+
if (message.options) { delete message.options.pane; }
|
|
130
130
|
allPoints[message.name] = RED.util.cloneMessage(message);
|
|
131
131
|
sendToRest(message,client.id);
|
|
132
132
|
}
|