node-red-contrib-web-worldmap 2.31.2 → 2.31.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 +1 -0
- package/README.md +1 -0
- package/package.json +1 -1
- package/worldmap/worldmap.js +1 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
### Change Log for Node-RED Worldmap
|
|
2
2
|
|
|
3
|
+
- v2.33.3 - Undo previous fix as while more technically correct - doesn't look so good. Issue #217
|
|
3
4
|
- v2.31.2 = Fix more antimeridian crossing wrinkles. Issue #216
|
|
4
5
|
- v2.31.1 - Fix missing type property for drawings, and pass back feedback value. Add route distance. Issue #213, Issue #212, PR #215
|
|
5
6
|
- v2.31.0 - Better handling of KML files. Issue #211
|
package/README.md
CHANGED
|
@@ -11,6 +11,7 @@ map web page for plotting "things" on.
|
|
|
11
11
|
|
|
12
12
|
### Updates
|
|
13
13
|
|
|
14
|
+
- v2.33.3 - Undo previous fix as while more technically correct - doesn't look so good. Issue #217
|
|
14
15
|
- v2.31.2 = Fix more antimeridian crossing wrinkles. Issue #216
|
|
15
16
|
- v2.31.1 - Fix missing type property for drawings, and pass back feedback value. Add route distance. Issue #213, Issue #212, PR #215
|
|
16
17
|
- v2.31.0 - Better handling of KML files. Issue #211
|
package/package.json
CHANGED
package/worldmap/worldmap.js
CHANGED
|
@@ -1475,11 +1475,7 @@ function setMarker(data) {
|
|
|
1475
1475
|
if (!data.hasOwnProperty("weight")) { opt.weight = 3; } //Standard settings different for lines
|
|
1476
1476
|
if (!data.hasOwnProperty("opacity")) { opt.opacity = 0.8; }
|
|
1477
1477
|
var greatc = L.Polyline.Arc(data.greatcircle[0], data.greatcircle[1], opt);
|
|
1478
|
-
var
|
|
1479
|
-
if (x.lng > 180) { x.lng -= 360; }
|
|
1480
|
-
return x;
|
|
1481
|
-
});
|
|
1482
|
-
var aml = new L.Wrapped.Polyline(gcp, opt);
|
|
1478
|
+
var aml = new L.Wrapped.Polyline(greatc._latlngs, opt);
|
|
1483
1479
|
|
|
1484
1480
|
polygons[data.name] = rightmenu(aml);
|
|
1485
1481
|
if (data.hasOwnProperty("fit") && data.fit === true) {
|