Update worldmap.js

This commit is contained in:
Dave Conway-Jones 2022-01-25 10:03:14 +00:00
parent cd48c56e12
commit eb3d4bb04e
No known key found for this signature in database
GPG Key ID: 88BA2B8A411BE9FF

View File

@ -1439,7 +1439,7 @@ function setMarker(data) {
}
if (data.hasOwnProperty("greatcircle") && Array.isArray(data.greatcircle) && data.greatcircle.length === 2) {
delete opt.fill;
opt.vertices = opt.vertices || 100;
//opt.vertices = opt.vertices || 100;
if (!data.hasOwnProperty("weight")) { opt.weight = 3; } //Standard settings different for lines
if (!data.hasOwnProperty("opacity")) { opt.opacity = 0.8; }
var greatc = L.Polyline.Arc(data.greatcircle[0], data.greatcircle[1], opt);