node-red-contrib-web-worldmap 5.0.1 → 5.0.4
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 +3 -0
- package/README.md +5 -8
- package/examples/Moving Icons Demo & Builder.json +762 -0
- package/node_modules/cookie/index.js +117 -57
- package/node_modules/cookie/package.json +3 -3
- package/node_modules/express/History.md +5 -0
- package/node_modules/express/package.json +2 -2
- package/package.json +4 -3
- package/worldmap/worldmap.js +34 -47
- package/node_modules/cookie/HISTORY.md +0 -147
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
### Change Log for Node-RED Worldmap
|
|
2
2
|
|
|
3
|
+
- v5.0.4 - Tweak CoT handling slightly.
|
|
4
|
+
- v5.0.3 - Add great context menu example flow. PR#290. Bump express lib. PR#291.
|
|
5
|
+
- v5.0.2 - Fix sidcEdgeIcon docs PR#289.
|
|
3
6
|
- v5.0.1 - Fix isArray error PR #288.
|
|
4
7
|
- v5.0.0 - Feedback cleanup PR#281, edgeicons option PR#287, bump libs for vuln fixes.
|
|
5
8
|
- v4.9.0 - If payload.flag is two char ISO code replace it with flag emoji. Revert part of PR #271
|
package/README.md
CHANGED
|
@@ -13,6 +13,9 @@ Feel free to [ for full list of changes.
|
|
47
44
|
|
|
@@ -412,7 +409,7 @@ Optional properties for **msg.payload.command** include
|
|
|
412
409
|
- **trackme** - Turns on/off the browser self locating. Boolean false = off, true = cyan circle showing accuracy error, or an object like `{"command":{"trackme":{"name":"Dave","icon":"car","iconColor":"blue","layer":"mytrack","accuracy":false}}}`. Usual marker options can be applied.
|
|
413
410
|
- **showmenu** - Show or hide the display of the hamberger menu control in the top right . Values can be "show" or "hide". - `{"command":{"showmenu": "hide"}}`
|
|
414
411
|
- **showlayers** - Show or hide the display of selectable layers. Does not control the display of an individual layer, rather a users ability to interact with them. Values can be "show" or "hide". - `{"command":{"showlayers": "hide"}}`
|
|
415
|
-
- **
|
|
412
|
+
- **sidcEdgeIcon** - Show or hide small sidc icons around edge of map for things just outside of view. Values can be true or false (default is true). - `{"command":{"sidcEdgeIcon": false}}`
|
|
416
413
|
|
|
417
414
|
#### To switch layer, move map and zoom
|
|
418
415
|
|
|
@@ -715,7 +712,7 @@ There are some internal functions available to make interacting with Node-RED ea
|
|
|
715
712
|
```
|
|
716
713
|
var menu = 'Add some data <input name="foo" value="${foo}" onchange=\'addToForm(this.name,this.value)\'></input><br/>'
|
|
717
714
|
menu += 'Add more data <input name="bar" value="${bar}" onchange=\'addToForm(this.name,this.value)\'></input><br/>'
|
|
718
|
-
menu += '<button name="my_form" onclick=\'feedback(this.name,"_form",
|
|
715
|
+
menu += '<button name="my_form" onclick=\'feedback(this.name,"_form","formAction",true)\'>Submit</button>'
|
|
719
716
|
msg.payload = { command: { "contextmenu":menu } }
|
|
720
717
|
```
|
|
721
718
|
|