mirror of
https://github.com/atsunatsu/Look4Sat.git
synced 2026-10-02 03:15:37 +00:00
fix(map): eliminate spurious pole-to-pole lines in award boundary overlay
- projectionToY clamps latitude to Web Mercator max (±85.05) so raw -90 polar vertices (Antarctica ring, WAZ zones 29/30/32/39) no longer project to infinity, removing vertical pole spikes - traceSegment unwraps longitude deltas per-vertex (continuous with previous point) instead of folding each vertex independently — a full-circle ring (Antarctica, span ~358°) no longer jumps ±180° mid-ring to draw a line across the whole map - closing chord now folds to the nearest world copy (short-side seal at the antimeridian) instead of a full-width chord - AwardCalculator: DXCC chip now listed before VUCC
This commit is contained in:
1 parent
9ea5b533c1
commit
06421f8cfc
2 files changed
+38
-8
No files matched your search
+1
-1
@@ -67,13 +67,13 @@ object AwardCalculator {
|
||||
fun calculate(qsosByGrid: Map<String, List<GridQso>>): List<AwardProgress> {
|
||||
val all = qsosByGrid.values.flatten()
|
||||
return listOf(
|
||||
calculateDxcc(all),
|
||||
AwardProgress(
|
||||
AwardType.VUCC,
|
||||
workedKeys = qsosByGrid.keys,
|
||||
count = qsosByGrid.size,
|
||||
target = AwardTargets.VUCC
|
||||
),
|
||||
calculateDxcc(all),
|
||||
calculateWapc(all),
|
||||
calculateWaja(all),
|
||||
calculateWaz(all),
|
||||
|
||||
Reference in new issue
Block a user