Remove arrowheads from backbone connection
This commit is contained in:
parent
1748079708
commit
8fd6730e0d
1 changed files with 2 additions and 9 deletions
|
|
@ -2908,7 +2908,7 @@
|
||||||
},
|
},
|
||||||
"Overlays": {
|
"Overlays": {
|
||||||
"Legend": legendLayerGroup,
|
"Legend": legendLayerGroup,
|
||||||
"Backbone Connection": backboneConnectionsLayerGroup,
|
"Backbone Connections": backboneConnectionsLayerGroup,
|
||||||
"Connections": connectionsLayerGroup,
|
"Connections": connectionsLayerGroup,
|
||||||
"Waypoints": waypointsLayerGroup,
|
"Waypoints": waypointsLayerGroup,
|
||||||
"Position History": nodePositionHistoryLayerGroup,
|
"Position History": nodePositionHistoryLayerGroup,
|
||||||
|
|
@ -3822,7 +3822,7 @@
|
||||||
event.target.closeTooltip();
|
event.target.closeTooltip();
|
||||||
});
|
});
|
||||||
|
|
||||||
// If both nodes are backbone nodes, also add to backbone layer group with arrows
|
// If both nodes are backbone nodes, also add to backbone layer group
|
||||||
if (nodeA.is_backbone && nodeB.is_backbone) {
|
if (nodeA.is_backbone && nodeB.is_backbone) {
|
||||||
const backboneLine = L.polyline([
|
const backboneLine = L.polyline([
|
||||||
nodeAMarker.getLatLng(),
|
nodeAMarker.getLatLng(),
|
||||||
|
|
@ -3831,13 +3831,6 @@
|
||||||
color: lineColor,
|
color: lineColor,
|
||||||
opacity: 0.75,
|
opacity: 0.75,
|
||||||
weight: 3,
|
weight: 3,
|
||||||
}).arrowheads({
|
|
||||||
size: '10px',
|
|
||||||
fill: true,
|
|
||||||
offsets: {
|
|
||||||
start: '25px',
|
|
||||||
end: '25px',
|
|
||||||
},
|
|
||||||
}).addTo(backboneConnectionsLayerGroup);
|
}).addTo(backboneConnectionsLayerGroup);
|
||||||
|
|
||||||
backboneLine.bindTooltip(tooltip, {
|
backboneLine.bindTooltip(tooltip, {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue