Annotate a Map | raywenderlich.com


This is a companion discussion topic for the original entry at https://www.raywenderlich.com/14255236-swiftui-maps-location-fundamentals/lessons/4

Hi Brian & Co ā€” Do you know if the SwiftUI Map allows each MapAnnotation to be tapped (e.g. to go to another view), rather than just shown? Iā€™m able to get a an array of MapAnnotations to appear, but tapping them (via a Button or NavigationLink leads to wildly unpredictable behavior, especially if I interact with the map in any way.

Stack Overflow is full of people with a similar problem. Maybe there are videos about this later in the course? Or are the SwiftUI maps essentially just a way to display data but not interact with it? Thanks!