MapReader
A container view that defines its contents as a function of information about the first contained map.
Declaration
@MainActor @preconcurrency struct MapReader<Content> where Content : ViewOverview
The map reader’s content builder receives a MapProxy instance. You can use this instance to get the information you’ll need to convert between a MapCamera and a MKMapRect or MKCoordinateRegion.