How do I render a Map Polyline and Overlay with the new SwiftUI Map

I have been trying to find some documentation on how to add an overlay to a map with the new SwiftUI Map view. There is so much here and it can be difficult to locate the proper apis for everything. Thanks for any help you all have.

Replies

Actually, I don't think there's all that much here. It appears that the new SwiftUI Map only shows user location and a variety of pins and markers. But not much else. At least as of beta 2.
I've been looking for the same, but sadly I don't think it's possible yet.

Two years later and I have my fingers crossed it will be here soon...

Still waiting...

added in iOS 17 beta