Merge pull request 'Add a flight arc on the map for flights with same departing and arrival airport' (#19) from add-same-point-flights into main
Reviewed-on: #19
This commit was merged in pull request #19.
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user