parent
13926ef385
commit
ac272121d5
@ -1,5 +1,6 @@
|
|||||||
### Change Log for Node-RED Worldmap
|
### Change Log for Node-RED Worldmap
|
||||||
|
|
||||||
|
- v2.30.3 - Fix for iframe height. Issue #210
|
||||||
- v2.30.2 - Fix for bad handling of mapbox id. Issue #208
|
- v2.30.2 - Fix for bad handling of mapbox id. Issue #208
|
||||||
- v2.30.1 - Don't resend bounds if not changed. Issue #209
|
- v2.30.1 - Don't resend bounds if not changed. Issue #209
|
||||||
- v2.30.0 - Add show/hide ruler option. PR #206
|
- v2.30.0 - Add show/hide ruler option. PR #206
|
||||||
|
@ -11,6 +11,7 @@ map web page for plotting "things" on.
|
|||||||
|
|
||||||
### Updates
|
### Updates
|
||||||
|
|
||||||
|
- v2.30.3 - Fix for iframe height. Issue #210
|
||||||
- v2.30.2 - Fix for bad handling of mapbox id. Issue #208
|
- v2.30.2 - Fix for bad handling of mapbox id. Issue #208
|
||||||
- v2.30.1 - Don't resend bounds if not changed. Issue #209
|
- v2.30.1 - Don't resend bounds if not changed. Issue #209
|
||||||
- v2.30.0 - Add show/hide ruler option. PR #206
|
- v2.30.0 - Add show/hide ruler option. PR #206
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "node-red-contrib-web-worldmap",
|
"name": "node-red-contrib-web-worldmap",
|
||||||
"version": "2.30.2",
|
"version": "2.30.3",
|
||||||
"description": "A Node-RED node to provide a web page of a world map for plotting things on.",
|
"description": "A Node-RED node to provide a web page of a world map for plotting things on.",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@turf/bezier-spline": "~6.5.0",
|
"@turf/bezier-spline": "~6.5.0",
|
||||||
|
@ -173,7 +173,7 @@ module.exports = function(RED) {
|
|||||||
if (height == 0) { height = 10; }
|
if (height == 0) { height = 10; }
|
||||||
var size = ui.getSizes();
|
var size = ui.getSizes();
|
||||||
var frameWidth = (size.sx + size.cx) * width - size.cx;
|
var frameWidth = (size.sx + size.cx) * width - size.cx;
|
||||||
var frameHeight = (size.sy + size.cy) * height - size.cy;
|
var frameHeight = (size.sy + size.cy) * height - size.cy + 40;
|
||||||
var url = encodeURI(path.posix.join(RED.settings.httpNodeRoot||RED.settings.httpRoot,config.path));
|
var url = encodeURI(path.posix.join(RED.settings.httpNodeRoot||RED.settings.httpRoot,config.path));
|
||||||
if (config.layer === "MB3d") { url += "/index3d.html"; }
|
if (config.layer === "MB3d") { url += "/index3d.html"; }
|
||||||
var html = `<style>.nr-dashboard-ui_worldmap{padding:0;}</style><div style="overflow:hidden;">
|
var html = `<style>.nr-dashboard-ui_worldmap{padding:0;}</style><div style="overflow:hidden;">
|
||||||
|
Loading…
Reference in New Issue
Block a user