SwiftUI Button interact with Map
问题 I'm totally new with Swift and SwiftUI and for a project group, I need to develop my first IOS app. I can display a map with Mapbox but I don't know how to follow my user when I click on a button. I don't know how to interact my button with my struct MapView This is my code: MapView.swift: import Mapbox struct MapView: UIViewRepresentable { let mapView: MGLMapView = MGLMapView(frame: .zero) func makeCoordinator() -> Coordinator { Coordinator(self) } func makeUIView(context: