I'm currently working in iOS 15.
func mapViewDidChangeVisibleRegion(_ mapView: MKMapView) { }
can help detect "the scrolling of the map" as per Apple documentation.