node-red-contrib-web-worldmap 2.30.2 → 2.30.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.30.3 - Fix for iframe height. Issue #210
3
4
  - v2.30.2 - Fix for bad handling of mapbox id. Issue #208
4
5
  - v2.30.1 - Don't resend bounds if not changed. Issue #209
5
6
  - v2.30.0 - Add show/hide ruler option. PR #206
package/README.md CHANGED
@@ -11,6 +11,7 @@ map web page for plotting "things" on.
11
11
 
12
12
  ### Updates
13
13
 
14
+ - v2.30.3 - Fix for iframe height. Issue #210
14
15
  - v2.30.2 - Fix for bad handling of mapbox id. Issue #208
15
16
  - v2.30.1 - Don't resend bounds if not changed. Issue #209
16
17
  - v2.30.0 - Add show/hide ruler option. PR #206
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "node-red-contrib-web-worldmap",
3
- "version": "2.30.2",
3
+ "version": "2.30.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",
package/worldmap.js CHANGED
@@ -173,7 +173,7 @@ module.exports = function(RED) {
173
173
  if (height == 0) { height = 10; }
174
174
  var size = ui.getSizes();
175
175
  var frameWidth = (size.sx + size.cx) * width - size.cx;
176
- var frameHeight = (size.sy + size.cy) * height - size.cy;
176
+ var frameHeight = (size.sy + size.cy) * height - size.cy + 40;
177
177
  var url = encodeURI(path.posix.join(RED.settings.httpNodeRoot||RED.settings.httpRoot,config.path));
178
178
  if (config.layer === "MB3d") { url += "/index3d.html"; }
179
179
  var html = `<style>.nr-dashboard-ui_worldmap{padding:0;}</style><div style="overflow:hidden;">