mirror of
https://github.com/atsunatsu/Look4Sat.git
synced 2026-10-03 11:17:25 +00:00
splitRingAtAntimeridian used to drop any edge crossing ±180°, leaving visible gaps in WAZ zone outlines (zone 31's 40°N Pacific boundary, zone 1/19's polar arcs, zone 32's Antarctic arc). The edge is now split in two at ±180° with interpolated latitude, each half kept in its own segment, so outlines close across the map's left/right edges. normalizeLon now maps to (-180, 180] so edges ENDING on the antimeridian are not mistaken for crossings.