node-red-contrib-web-worldmap 5.0.1 → 5.0.3
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 +2 -0
- package/README.md +4 -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 +2 -33
- package/node_modules/cookie/HISTORY.md +0 -147
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
### Change Log for Node-RED Worldmap
|
|
2
2
|
|
|
3
|
+
- v5.0.3 - Add great context menu example flow. PR#290. Bump express lib. PR#291.
|
|
4
|
+
- v5.0.2 - Fix sidcEdgeIcon docs PR#289.
|
|
3
5
|
- v5.0.1 - Fix isArray error PR #288.
|
|
4
6
|
- v5.0.0 - Feedback cleanup PR#281, edgeicons option PR#287, bump libs for vuln fixes.
|
|
5
7
|
- 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,8 @@ Feel free to [ for full list of changes.
|
|
47
43
|
|
|
@@ -412,7 +408,7 @@ Optional properties for **msg.payload.command** include
|
|
|
412
408
|
- **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
409
|
- **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
410
|
- **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
|
-
- **
|
|
411
|
+
- **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
412
|
|
|
417
413
|
#### To switch layer, move map and zoom
|
|
418
414
|
|
|
@@ -715,7 +711,7 @@ There are some internal functions available to make interacting with Node-RED ea
|
|
|
715
711
|
```
|
|
716
712
|
var menu = 'Add some data <input name="foo" value="${foo}" onchange=\'addToForm(this.name,this.value)\'></input><br/>'
|
|
717
713
|
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",
|
|
714
|
+
menu += '<button name="my_form" onclick=\'feedback(this.name,"_form","formAction",true)\'>Submit</button>'
|
|
719
715
|
msg.payload = { command: { "contextmenu":menu } }
|
|
720
716
|
```
|
|
721
717
|
|