diff --git a/CHANGELOG.md b/CHANGELOG.md index 3f78c48..5572c24 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,6 @@ ### Change Log for Node-RED Worldmap + - 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.0 - Add show/hide ruler option. PR #206 diff --git a/README.md b/README.md index 3229ca3..d08b457 100644 --- a/README.md +++ b/README.md @@ -11,6 +11,7 @@ map web page for plotting "things" on. ### Updates +- 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.0 - Add show/hide ruler option. PR #206 - 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. - v2.26.1 - Add QTH/Maidenhead option also - v2.26.0 - Add UTM and MGRS to coordinate display options. - v2.25.0 - Add bounds command to set overall map bounds. -- v2.24.3 - Fix geojson incorrect fill. -- v2.24.2 - Changes to drawing colours to be more visible. -- v2.24.1 - Fix ellipse accuracy -- v2.24.0 - Add greatcircle option, fix non default httpRoot. Issue #193 -- v2.23.5 - Fix addtoheatmap. Issue #192 -- v2.23.4 - Fix opacity of area borders -- v2.23.3 - Fix initial load of maps -- v2.23.2 - Add convex-hull example -- v2.23.1 - Fix saving of custom map layer -- v2.23.0 - Give logo an id so it can be overridden by toplogo command. PR #188. - see [CHANGELOG](https://github.com/dceejay/RedMap/blob/master/CHANGELOG.md) for full list of changes. diff --git a/package.json b/package.json index ee1813b..713e127 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "node-red-contrib-web-worldmap", - "version": "2.30.1", + "version": "2.30.2", "description": "A Node-RED node to provide a web page of a world map for plotting things on.", "dependencies": { "@turf/bezier-spline": "~6.5.0", diff --git a/worldmap.html b/worldmap.html index 5868ce3..b12e912 100644 --- a/worldmap.html +++ b/worldmap.html @@ -538,7 +538,7 @@ If Web Path is left empty, then by default ⌘⇧m - c options: olist }]}); $("#node-input-maplist").on('change', function(event, type, value) { - if (value.indexOf("MB3d") > -1) { + if (value && value.indexOf("MB3d") > -1) { mshort = [{ value:"MB3d", label:"Mapbox 3D" }]; $('#node-input-maplist option').prop('selected', false); $("#node-input-maplist").val("MB3d");