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 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 [![](https://img.shields.io/static/v1?label=Sponsor&message=%E2%9D%
13
13
 
14
14
  ### Updates
15
15
 
16
+ - v5.0.4 - Tweak CoT handling slightly.
17
+ - v5.0.3 - Add great context menu example flow. PR#290. Bump express lib. PR#291.
18
+ - v5.0.2 - Fix sidcEdgeIcon docs PR#289.
16
19
  - v5.0.1 - Fix isArray error PR #288.
17
20
  - v5.0.0 - v5.0.0 - Feedback cleanup PR#281, edgeicons option PR#287, bump libs for vuln fixes.
18
21
  - v4.9.0 - If payload.flag is two char ISO code replace it with flag emoji. Revert part of PR #271
@@ -36,12 +39,6 @@ Feel free to [![](https://img.shields.io/static/v1?label=Sponsor&message=%E2%9D%
36
39
  - v4.1.0 - Add optional SOG, COG, altft, altm input properties.
37
40
  - v4.0.0 - Breaking - Better context menu variable substitution and retention
38
41
  Now uses ${name} syntax rather than $name so we can handle user defined variables in context menus.
39
- - v3.2.0 - Sync up drawing sessions across browsers to same map
40
- - v3.1.0 - Add esri overlay layers, and let geojson overlay rendering be customised
41
- - v3.0.0 - Bump to Leaflet 1.9.4
42
- Breaking - Move to geoman for drawing shapes.
43
- Allow command.rotation to set rotation of map.
44
- Allow editing of multipoint geojson tracks.
45
42
 
46
43
  - see [CHANGELOG](https://github.com/dceejay/RedMap/blob/master/CHANGELOG.md) 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
- - **edgeenabled** - 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":{"edgeenabled": false}}`
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",null,true)\'>Submit</button>'
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