summaryrefslogtreecommitdiff
path: root/LearnMapKit/ContentView.swift
diff options
context:
space:
mode:
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)) {