In iOS 14, MapKit provides a new Map view for SwiftUI, but there does not seem to be a way to change the map type. Is there a way to change the map to a satellite map?
How do you change the map type for a SwiftUI Map
Looks like this is not added yet (the new Map view in SwiftUI is quite basic at the moment).
If you need it, you can embed an MKMapView from UIKit using UIViewRepresentable that will give you all the flexibility you need. There is a good tutorial on hackingwithswift.com
If you need it, you can embed an MKMapView from UIKit using UIViewRepresentable that will give you all the flexibility you need. There is a good tutorial on hackingwithswift.com
try this
https://github.com/darioGzlez/FloatingSegmentedControl.git