优化线条2

This commit is contained in:
CN-JS-HuiBai
2026-04-06 19:44:57 +08:00
parent 47a795cd73
commit 864cbc3569

View File

@@ -985,10 +985,10 @@
let finalCurve = 0;
if (isSeattleJapan) {
// Special rule: Seattle ↔ Japan route curves upward (North)
// For Seattle -> Japan (Westbound): Right is North (+).
// For Japan -> Seattle (Eastbound): Right is South (+), so North is (-).
// Based on user feedback that previous signs resulted in a downward curve,
// we flip them to ensure the intended upward arc.
const isWestbound = (lowS === 'seattle' || lowS === 'us seattle');
finalCurve = isWestbound ? 0.3 : -0.3;
finalCurve = isWestbound ? -0.3 : 0.3;
} else if (count === 1) {
// Subtle consistent curve for single routes to maintain parallelism
finalCurve = 0.12;