summaryrefslogtreecommitdiff
path: root/LearnMapKit/ContentView.swift
diff options
context:
space:
mode:
authorArturs Artamonovs <arturs.artamonovs@protonmail.com>2024-08-13 09:04:53 +0100
committerArturs Artamonovs <arturs.artamonovs@protonmail.com>2024-08-13 09:04:53 +0100
commita474815bb7f4f395d3dfeafba85c3fa9e7d880c3 (patch)
tree1f781186af3a9de1e35c134e0cb58810b8e2ac62 /LearnMapKit/ContentView.swift
parent30a23711626c5afe7f86ca34fbc489d7979b71d9 (diff)
downloadADSBDecoder-a474815bb7f4f395d3dfeafba85c3fa9e7d880c3.tar.gz
ADSBDecoder-a474815bb7f4f395d3dfeafba85c3fa9e7d880c3.zip
CommandLine arguments for net and file are working
Diffstat (limited to 'LearnMapKit/ContentView.swift')
-rw-r--r--LearnMapKit/ContentView.swift28
1 files changed, 0 insertions, 28 deletions
diff --git a/LearnMapKit/ContentView.swift b/LearnMapKit/ContentView.swift
index e85c3b2..9f18e30 100644
--- a/LearnMapKit/ContentView.swift
+++ b/LearnMapKit/ContentView.swift
@@ -62,34 +62,6 @@ struct ContentView: View {
var body: some View {
VStack {
- HStack(alignment: .top) {
- Button("1") {
- print("Pressed 1")
- }
- Button("2") {
- print("Pressed 2")
- }
- Button("3") {
- print("Pressed 3")
- }
- Button("4") {
- print("Pressed 4")
- }
- Button("5") {
- print("Pressed 5")
- }
- Button("6") {
- print("Pressed 6")
- }
- Button("7") {
- print("Pressed 7")
- //print(evilClass.update_postions.count)
- }
- }
- .border(.blue)
- //.frame(maxWidth:.infinity)
- //.padding()
-
Map(initialPosition: initialPosition) {
ForEach(self.evilClass.flight.sorted(by: { $0.key < $1.key} ), id:\.key) { k in
Annotation("\(k.key)", coordinate: CLLocationCoordinate2D(latitude: self.evilClass.flight[k.key]!.lat, longitude:self.evilClass.flight[k.key]!.long)) {