Complete map display page
This commit is contained in:
@@ -19,7 +19,7 @@
|
||||
pipeline: { color: '#334155', stroke: '#1e293b', width: 4, text: '#334155'},
|
||||
}
|
||||
|
||||
$: s = bridgeStyles[feature.category] || styles.minorRoad;
|
||||
$: s = bridgeStyles[feature.category] || bridgeStyles.minorRoad;
|
||||
$: isOver = feature.position === 'over';
|
||||
|
||||
$: topY = 32 - (s.width / 2);
|
||||
@@ -36,9 +36,9 @@
|
||||
<path d={bodyPath} fill={s.color} />
|
||||
<path d={`M 0 ${topY} L 64 ${topY}`} stroke={s.stroke} stroke-width="2" />
|
||||
<path d={`M 0 ${bottomY} L 64 ${bottomY}`} stroke={s.stroke} stroke-width="2" />
|
||||
<BaseTrack elec={activeElec} height={64} />
|
||||
<BaseTrack {activeElec} height={64} />
|
||||
{:else}
|
||||
<BaseTrack elec={activeElec} height={64} />
|
||||
<BaseTrack {activeElec} height={64} />
|
||||
|
||||
<path d={bodyPath} fill="white" /> <path d={bodyPath} fill={s.color} />
|
||||
|
||||
|
||||
Reference in New Issue
Block a user