parent
d6d2359016
commit
efc5d49f41
@ -1,5 +1,6 @@
|
|||||||
### Change Log for Node-RED Worldmap
|
### Change Log for Node-RED Worldmap
|
||||||
|
|
||||||
|
- v2.33.3 - Undo previous fix as while more technically correct - doesn't look so good. Issue #217
|
||||||
- v2.31.2 = Fix more antimeridian crossing wrinkles. Issue #216
|
- v2.31.2 = Fix more antimeridian crossing wrinkles. Issue #216
|
||||||
- v2.31.1 - Fix missing type property for drawings, and pass back feedback value. Add route distance. Issue #213, Issue #212, PR #215
|
- v2.31.1 - Fix missing type property for drawings, and pass back feedback value. Add route distance. Issue #213, Issue #212, PR #215
|
||||||
- v2.31.0 - Better handling of KML files. Issue #211
|
- v2.31.0 - Better handling of KML files. Issue #211
|
||||||
|
@ -11,6 +11,7 @@ map web page for plotting "things" on.
|
|||||||
|
|
||||||
### Updates
|
### Updates
|
||||||
|
|
||||||
|
- v2.33.3 - Undo previous fix as while more technically correct - doesn't look so good. Issue #217
|
||||||
- v2.31.2 = Fix more antimeridian crossing wrinkles. Issue #216
|
- v2.31.2 = Fix more antimeridian crossing wrinkles. Issue #216
|
||||||
- v2.31.1 - Fix missing type property for drawings, and pass back feedback value. Add route distance. Issue #213, Issue #212, PR #215
|
- v2.31.1 - Fix missing type property for drawings, and pass back feedback value. Add route distance. Issue #213, Issue #212, PR #215
|
||||||
- v2.31.0 - Better handling of KML files. Issue #211
|
- v2.31.0 - Better handling of KML files. Issue #211
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "node-red-contrib-web-worldmap",
|
"name": "node-red-contrib-web-worldmap",
|
||||||
"version": "2.31.2",
|
"version": "2.31.3",
|
||||||
"description": "A Node-RED node to provide a web page of a world map for plotting things on.",
|
"description": "A Node-RED node to provide a web page of a world map for plotting things on.",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@turf/bezier-spline": "~6.5.0",
|
"@turf/bezier-spline": "~6.5.0",
|
||||||
|
@ -1475,11 +1475,7 @@ function setMarker(data) {
|
|||||||
if (!data.hasOwnProperty("weight")) { opt.weight = 3; } //Standard settings different for lines
|
if (!data.hasOwnProperty("weight")) { opt.weight = 3; } //Standard settings different for lines
|
||||||
if (!data.hasOwnProperty("opacity")) { opt.opacity = 0.8; }
|
if (!data.hasOwnProperty("opacity")) { opt.opacity = 0.8; }
|
||||||
var greatc = L.Polyline.Arc(data.greatcircle[0], data.greatcircle[1], opt);
|
var greatc = L.Polyline.Arc(data.greatcircle[0], data.greatcircle[1], opt);
|
||||||
var gcp = greatc._latlngs.map(function(x) {
|
var aml = new L.Wrapped.Polyline(greatc._latlngs, opt);
|
||||||
if (x.lng > 180) { x.lng -= 360; }
|
|
||||||
return x;
|
|
||||||
});
|
|
||||||
var aml = new L.Wrapped.Polyline(gcp, opt);
|
|
||||||
|
|
||||||
polygons[data.name] = rightmenu(aml);
|
polygons[data.name] = rightmenu(aml);
|
||||||
if (data.hasOwnProperty("fit") && data.fit === true) {
|
if (data.hasOwnProperty("fit") && data.fit === true) {
|
||||||
|
Loading…
Reference in New Issue
Block a user