Changed link from polyline to geodesicPolyline
This commit is contained in:
parent
b67feb4590
commit
dc6961667c
@ -754,7 +754,7 @@ window.renderLink = function(ent) {
|
|||||||
[edge.originPortalLocation.latE6/1E6, edge.originPortalLocation.lngE6/1E6],
|
[edge.originPortalLocation.latE6/1E6, edge.originPortalLocation.lngE6/1E6],
|
||||||
[edge.destinationPortalLocation.latE6/1E6, edge.destinationPortalLocation.lngE6/1E6]
|
[edge.destinationPortalLocation.latE6/1E6, edge.destinationPortalLocation.lngE6/1E6]
|
||||||
];
|
];
|
||||||
var poly = L.polyline(latlngs, {
|
var poly = L.geodesicPolyline(latlngs, {
|
||||||
color: COLORS[team],
|
color: COLORS[team],
|
||||||
opacity: 1,
|
opacity: 1,
|
||||||
weight:2,
|
weight:2,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user