Fix catenary layer toggles, tooltip collision, side rail rendering, and typed interruption signs
Deploy & Release / build-and-deploy (push) Failing after 14s
Deploy & Release / build-and-deploy (push) Failing after 14s
This commit is contained in:
5 files changed
+202
-91
No files matched your search
@@ -675,9 +675,11 @@ function populateCatenaryKey(){
|
||||
const catKey = document.getElementById('legendCatenaryKey');
|
||||
if(!catKey) return;
|
||||
catKey.innerHTML = `
|
||||
<div style="margin: 3px 0;"><span style="display:inline-block;width:1.2em;height:1.2em;background:#0077b6;border-radius:50%;text-align:center;line-height:1.2em;font-size:11px;color:#fff;border:1px solid #fff;">⚡</span> Traction Substation</div>
|
||||
<div style="margin: 3px 0;"><span style="display:inline-block;width:1.2em;height:1.2em;background:#e63946;border-radius:3px;text-align:center;line-height:1.2em;font-size:10px;color:#fff;border:1px dashed #fff;">⛔</span> Neutral Section (0V Токораздел)</div>
|
||||
<div style="margin: 3px 0;"><span style="display:inline-block;width:1.2em;height:1.2em;background:#ff9f1c;border-radius:3px;text-align:center;line-height:1.2em;font-size:11px;color:#000;border:1px solid #000;">⤓</span> Lower Pantographs Warning</div>
|
||||
<div style="margin: 3px 0;"><span style="display:inline-block;width:1.3em;height:1.3em;background:#0077b6;border-radius:50%;text-align:center;line-height:1.3em;font-size:11px;color:#fff;border:1px solid #fff;">⚡</span> Traction Substation (Тяговая подстанция)</div>
|
||||
<div style="margin: 3px 0;"><span style="display:inline-block;width:1.3em;height:1.3em;background:#e63946;border-radius:3px;text-align:center;line-height:1.3em;font-size:10px;color:#fff;border:1px dashed #fff;">⛔</span> Neutral Section (0V Токораздел)</div>
|
||||
<div style="margin: 3px 0;"><span style="display:inline-block;width:1.3em;height:1.3em;background:#f97316;border-radius:3px;text-align:center;line-height:1.3em;font-size:11px;color:#ffffff;border:1px solid #000;">⤓</span> Lower Pantographs (Опустить пантограф)</div>
|
||||
<div style="margin: 3px 0;"><span style="display:inline-block;width:1.3em;height:1.3em;background:#f59e0b;border-radius:3px;text-align:center;line-height:1.3em;font-size:11px;color:#000;border:1px solid #000;">⚠</span> Interruption Warning (Предупреждение)</div>
|
||||
<div style="margin: 3px 0;"><span style="display:inline-block;width:1.3em;height:1.3em;background:#10b981;border-radius:3px;text-align:center;line-height:1.3em;font-size:11px;color:#fff;border:1px solid #fff;">⤒</span> Raise Pantographs (Поднять пантограф)</div>
|
||||
`;
|
||||
MapData.updateCatenaryLegend();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user