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 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 [![](https://img.shields.io/static/v1?label=Sponsor&message=%E2%9D%
13
13
 
14
14
  ### Updates
15
15
 
16
+ - v5.0.3 - Add great context menu example flow. PR#290. Bump express lib. PR#291.
17
+ - v5.0.2 - Fix sidcEdgeIcon docs PR#289.
16
18
  - v5.0.1 - Fix isArray error PR #288.
17
19
  - v5.0.0 - v5.0.0 - Feedback cleanup PR#281, edgeicons option PR#287, bump libs for vuln fixes.
18
20
  - v4.9.0 - If payload.flag is two char ISO code replace it with flag emoji. Revert part of PR #271
@@ -36,12 +38,6 @@ Feel free to [![](https://img.shields.io/static/v1?label=Sponsor&message=%E2%9D%
36
38
  - v4.1.0 - Add optional SOG, COG, altft, altm input properties.
37
39
  - v4.0.0 - Breaking - Better context menu variable substitution and retention
38
40
  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
41
 
46
42
  - see [CHANGELOG](https://github.com/dceejay/RedMap/blob/master/CHANGELOG.md) 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
- - **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}}`
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",null,true)\'>Submit</button>'
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