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 +1 -0
- package/README.md +1 -0
- package/package.json +1 -1
- package/worldmap.js +1 -1
package/CHANGELOG.md
CHANGED
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
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;">
|