diff --git a/StepMap.xcodeproj/project.xcworkspace/xcuserdata/oliverhnat.xcuserdatad/UserInterfaceState.xcuserstate b/StepMap.xcodeproj/project.xcworkspace/xcuserdata/oliverhnat.xcuserdatad/UserInterfaceState.xcuserstate new file mode 100644 index 0000000..afcdaa2 Binary files /dev/null and b/StepMap.xcodeproj/project.xcworkspace/xcuserdata/oliverhnat.xcuserdatad/UserInterfaceState.xcuserstate differ diff --git a/StepMap/ContentView.swift b/StepMap/ContentView.swift index a69afce..6c4452f 100644 --- a/StepMap/ContentView.swift +++ b/StepMap/ContentView.swift @@ -42,16 +42,19 @@ struct ContentView: View { // calculate only the distance between the start and end instead of getting directions for everything // if user clicks on the place, display better view and then calculate route there var body: some View { - Map(position: $position) { - UserAnnotation() - ForEach(0.. UIKitMapView { + return UIKitMapView(locationManager: locationManager) + } + + func updateUIViewController(_ uiViewController: UIKitMapView, context: Context) { + // pass + } + +}