node-red-contrib-web-worldmap 2.23.2 → 2.23.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,6 @@
1
1
  ### Change Log for Node-RED Worldmap
2
2
 
3
+ - v2.23.3 - Fix initial laod of maps
3
4
  - v2.23.2 - Add convex-hull example
4
5
  - v2.23.1 - Fix saving of custom map layer
5
6
  - v2.23.0 - Give logo and id so it can be overridden by toplogo command. PR #188.
package/README.md CHANGED
@@ -11,6 +11,7 @@ map web page for plotting "things" on.
11
11
 
12
12
  ### Updates
13
13
 
14
+ - v2.23.3 - Fix initial laod of maps
14
15
  - v2.23.2 - Add convex-hull example
15
16
  - v2.23.1 - Fix saving of custom map layer
16
17
  - v2.23.0 - Give logo and id so it can be overridden by toplogo command. PR #188.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "node-red-contrib-web-worldmap",
3
- "version": "2.23.2",
3
+ "version": "2.23.3",
4
4
  "description": "A Node-RED node to provide a web page of a world map for plotting things on.",
5
5
  "dependencies": {
6
6
  "@turf/bezier-spline": "~6.5.0",
@@ -2062,9 +2062,11 @@ function setMarker(data) {
2062
2062
  function doCommand(cmd) {
2063
2063
  // console.log("COMMAND",cmd);
2064
2064
  if (cmd.init && cmd.hasOwnProperty("maplist")) {
2065
+ basemaps = [];
2065
2066
  addBaseMaps(cmd.maplist,cmd.layer);
2066
2067
  }
2067
2068
  if (cmd.init && cmd.hasOwnProperty("overlist")) {
2069
+ overlays = [];
2068
2070
  addOverlays(cmd.overlist);
2069
2071
  }
2070
2072
  if (cmd.hasOwnProperty("toptitle")) {