Filter and Search Maps | raywenderlich.com


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

Hi Brian.

How would you go about saving/printing the location and other items from the compactMap function? I ideally would like to save the location information in an array after searching it.

Thank!

Matt