node-red-contrib-web-worldmap 2.30.1 → 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 +2 -0
- package/README.md +2 -10
- package/package.json +1 -1
- package/worldmap.html +1 -1
- package/worldmap.js +1 -1
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -11,6 +11,8 @@ map web page for plotting "things" on.
|
|
|
11
11
|
|
|
12
12
|
### Updates
|
|
13
13
|
|
|
14
|
+
- v2.30.3 - Fix for iframe height. Issue #210
|
|
15
|
+
- v2.30.2 - Fix for bad handling of mapbox id. Issue #208
|
|
14
16
|
- v2.30.1 - Don't resend bounds if not changed. Issue #209
|
|
15
17
|
- v2.30.0 - Add show/hide ruler option. PR #206
|
|
16
18
|
- v2.29.0 - Change locate to be a toggle and add command (trackme) to set style. Issue #202
|
|
@@ -22,16 +24,6 @@ map web page for plotting "things" on.
|
|
|
22
24
|
- v2.26.1 - Add QTH/Maidenhead option also
|
|
23
25
|
- v2.26.0 - Add UTM and MGRS to coordinate display options.
|
|
24
26
|
- v2.25.0 - Add bounds command to set overall map bounds.
|
|
25
|
-
- v2.24.3 - Fix geojson incorrect fill.
|
|
26
|
-
- v2.24.2 - Changes to drawing colours to be more visible.
|
|
27
|
-
- v2.24.1 - Fix ellipse accuracy
|
|
28
|
-
- v2.24.0 - Add greatcircle option, fix non default httpRoot. Issue #193
|
|
29
|
-
- v2.23.5 - Fix addtoheatmap. Issue #192
|
|
30
|
-
- v2.23.4 - Fix opacity of area borders
|
|
31
|
-
- v2.23.3 - Fix initial load of maps
|
|
32
|
-
- v2.23.2 - Add convex-hull example
|
|
33
|
-
- v2.23.1 - Fix saving of custom map layer
|
|
34
|
-
- v2.23.0 - Give logo an id so it can be overridden by toplogo command. PR #188.
|
|
35
27
|
|
|
36
28
|
- see [CHANGELOG](https://github.com/dceejay/RedMap/blob/master/CHANGELOG.md) for full list of changes.
|
|
37
29
|
|
package/package.json
CHANGED
package/worldmap.html
CHANGED
|
@@ -538,7 +538,7 @@ If <i>Web Path</i> is left empty, then by default <code>⌘⇧m</code> - <code>c
|
|
|
538
538
|
options: olist
|
|
539
539
|
}]});
|
|
540
540
|
$("#node-input-maplist").on('change', function(event, type, value) {
|
|
541
|
-
if (value.indexOf("MB3d") > -1) {
|
|
541
|
+
if (value && value.indexOf("MB3d") > -1) {
|
|
542
542
|
mshort = [{ value:"MB3d", label:"Mapbox 3D" }];
|
|
543
543
|
$('#node-input-maplist option').prop('selected', false);
|
|
544
544
|
$("#node-input-maplist").val("MB3d");
|
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;">
|