Add a flight arc on the map for flights with same departing and arrival airport

This commit is contained in:
2026-08-22 13:15:39 +10:00
parent 28fd782a40
commit 95ed0e339f
@@ -370,7 +370,7 @@ export default defineComponent({
link.click() link.click()
} }
function loopPoints(origin: LngLat, radiusDeg = 0.4, steps = 48): LngLat[] { function loopPoints(origin: LngLat, radiusDeg = 0.2, steps = 48): LngLat[] {
const [lng, lat] = origin const [lng, lat] = origin
// Widen the longitude radius to compensate for mercator distortion at this latitude // Widen the longitude radius to compensate for mercator distortion at this latitude