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.
Topics
Creating a map reader
Managing Look Around view presentation
lookAroundViewer(isPresented:initialScene:allowsNavigation:showsRoadLabels:pointsOfInterest:onDismiss:)lookAroundViewer(isPresented:scene:allowsNavigation:showsRoadLabels:pointsOfInterest:onDismiss:)
Managing map controls
Managing the camera
mapCameraKeyframeAnimator(trigger:keyframes:)onMapCameraChange(frequency:_:)onMapCameraChange(frequency:_:)