AIS, ADSB, and Range
This commit is contained in:
@@ -115,7 +115,13 @@ function tickPercent(index: number) {
|
||||
}
|
||||
|
||||
function toggleAT() {
|
||||
atActive.value ? airTraffic.hide() : airTraffic.show()
|
||||
if(atActive.value) {
|
||||
aisLayer.hide()
|
||||
airTraffic.hide()
|
||||
} else {
|
||||
aisLayer.show()
|
||||
airTraffic.show()
|
||||
}
|
||||
atActive.value = !atActive.value
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user