node-red-contrib-web-worldmap 2.30.1 → 2.30.2

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.2 - Fix for bad handling of mapbox id. Issue #208
3
4
  - v2.30.1 - Don't resend bounds if not changed. Issue #209
4
5
  - v2.30.0 - Add show/hide ruler option. PR #206
5
6
 
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.2 - Fix for bad handling of mapbox id. Issue #208
14
15
  - v2.30.1 - Don't resend bounds if not changed. Issue #209
15
16
  - v2.30.0 - Add show/hide ruler option. PR #206
16
17
  - v2.29.0 - Change locate to be a toggle and add command (trackme) to set style. Issue #202
@@ -22,16 +23,6 @@ map web page for plotting "things" on.
22
23
  - v2.26.1 - Add QTH/Maidenhead option also
23
24
  - v2.26.0 - Add UTM and MGRS to coordinate display options.
24
25
  - 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
26
 
36
27
  - see [CHANGELOG](https://github.com/dceejay/RedMap/blob/master/CHANGELOG.md) for full list of changes.
37
28
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "node-red-contrib-web-worldmap",
3
- "version": "2.30.1",
3
+ "version": "2.30.2",
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.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");