mirror of
https://github.com/atsunatsu/Look4Sat.git
synced 2026-10-02 03:15:37 +00:00
DXCC (Russia/Fiji/Antarctica) and WAZ (Pacific CQ zones 1/19/31/32) polygon rings cross ±180. The old overlay normalized every vertex to [-180,180) independently, folding far-side vertices onto the opposite screen edge and drawing a spurious line sweeping across the whole map (esp. at low zoom: DXCC horizontal/vertical lines, WAZ extra long edges). Split each ring into contiguous segments at the antimeridian, then project each segment anchored on its first vertex with continuous longitude offsets (no per-vertex fold). Ring geometry stays intact while panning/zooming.