diff --git a/CHANGELOG.md b/CHANGELOG.md index e349ccd..7d6024c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,6 @@ ### Change Log for Node-RED Worldmap + - v2.11.2 - allow thicknesss of arc to be specified by weight - v2.11.1 - Better handle KML point info - add popup. - v2.11.0 - Add option to smooth tracks using bezier curves. - v2.10.0 - Save latest position to browser for refresh if in iframe/dashboard. Allow fractional Zoom levels. diff --git a/README.md b/README.md index 7bf501e..c4c396f 100644 --- a/README.md +++ b/README.md @@ -11,6 +11,7 @@ map web page for plotting "things" on. ### Updates +- v2.11.2 - allow thicknesss of arc to be specified by weight - v2.11.1 - Better handle KML point info - add popup. - v2.11.0 - Add option to smooth tracks using bezier curves. - v2.10.0 - Save latest position to browser for refresh if in iframe/dashboard. Allow fractional Zoom levels. @@ -180,7 +181,8 @@ msg.payload = { name:"Camera01", icon:"fa-camera", lat:51.05, lon:-1.35, ranges: [500,1000,2000], pan: 228, fov: 40, - color: '#aaaa00' + color: '#aaaa00', + weight: 1 } } ``` diff --git a/package.json b/package.json index 04a4627..e2e0eff 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "node-red-contrib-web-worldmap", - "version": "2.11.1", + "version": "2.11.2", "description": "A Node-RED node to provide a web page of a world map for plotting things on.", "dependencies": { "cgi": "0.3.1", diff --git a/worldmap/worldmap.js b/worldmap/worldmap.js index 0020617..c1fd76b 100644 --- a/worldmap/worldmap.js +++ b/worldmap/worldmap.js @@ -1191,7 +1191,7 @@ var rangerings = function(latlng, options) { radius: options.ranges[i], fill: false, color: options.color, - weight: 1 + weight: options.weight || 1 }).setDirection(options.pan, options.fov).addTo(rings); } return rings;