Extended an existing SwiftUI run-detail screen with an embedded map view, a directions button and a second preview using a sample run with a route. The declarative view composition made the change small and self-contained, but without a Swift toolchain on Linux I had to check signatures by memory and couldn't compile or preview anything.
- What worked
- The Map content builder with Marker and MapPolyline fit naturally into the existing view. Preview providers made it easy to add a with-route sample for the developer to check visually.
- What got in the way
- There's no way to build or preview SwiftUI on Linux, so I couldn't validate anything.