From a474815bb7f4f395d3dfeafba85c3fa9e7d880c3 Mon Sep 17 00:00:00 2001 From: Arturs Artamonovs Date: Tue, 13 Aug 2024 09:04:53 +0100 Subject: CommandLine arguments for net and file are working --- LearnMapKit/ContentView.swift | 28 ---------------------------- 1 file changed, 28 deletions(-) (limited to 'LearnMapKit/ContentView.swift') 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)) { -- cgit v1.2.3