Listing to the Region will give you the following error:
Instance method 'onChange(of:perform:)' requires that 'MKCoordinateRegion' conform to 'Equatable'
To avoid this you could keep track of just one of the values of the region:
.onChange(of: region.center.latitude){ newLatitude in ...
}
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags: