node-red-contrib-web-worldmap 2.26.0 → 2.26.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "node-red-contrib-web-worldmap",
3
- "version": "2.26.0",
3
+ "version": "2.26.1",
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",
@@ -1439,7 +1439,7 @@ function setMarker(data) {
1439
1439
  }
1440
1440
  if (data.hasOwnProperty("greatcircle") && Array.isArray(data.greatcircle) && data.greatcircle.length === 2) {
1441
1441
  delete opt.fill;
1442
- opt.vertices = opt.vertices || 100;
1442
+ //opt.vertices = opt.vertices || 100;
1443
1443
  if (!data.hasOwnProperty("weight")) { opt.weight = 3; } //Standard settings different for lines
1444
1444
  if (!data.hasOwnProperty("opacity")) { opt.opacity = 0.8; }
1445
1445
  var greatc = L.Polyline.Arc(data.greatcircle[0], data.greatcircle[1], opt);
@@ -1981,6 +1981,7 @@ function setMarker(data) {
1981
1981
  if (data.hasOwnProperty("clickable")) { delete data.clickable; }
1982
1982
  if (data.hasOwnProperty("fillColor")) { delete data.fillColor; }
1983
1983
  if (data.hasOwnProperty("radius")) { delete data.radius; }
1984
+ if (data.hasOwnProperty("greatcircle")) { delete data.greatcircle; }
1984
1985
  for (var i in data) {
1985
1986
  if ((i != "name") && (i != "length")) {
1986
1987
  if (typeof data[i] === "object") {