For iOS 18.1 and macOS 15 SwiftUI map, you can now get the coordinates of the middle point with this:
let middleCoord = route!.polyline.points()[route!.polyline.pointCount/2].coordinate