Hi,
I want Map() zoom level adjusted according to speed of the user.
I'm currently using the following to initialize Map position:
@State private var position: MapCameraPosition = .userLocation(followsHeading: true, fallback: .automatic)
var body: some View {
Map(position: $position) {...}
}
I get speed from CoreLocationl. How can I adjust zoom level, or camera position, to accomplish this?
Thanks!