soundscape-community / soundscape

An iOS application/service that aids navigation through spatialized audio
https://soundscape.services
MIT License
21 stars 22 forks source link

Change search provider to Apple's Map Kit #21

Closed Oliver2213 closed 1 year ago

Oliver2213 commented 1 year ago

This changes the data source used for searches to use Apple's MapKit, specifically MKLocalSearch. I also updated the search as you type function to use this as well.
Though this has tradeoffs around things like cross-platform support, I believe its worth it right now to get good results and to have to run one less thing. Apple does provide a server-side API for this data, which means we can still potentially keep the same provider across platforms if we want to in the future.

steinbro commented 1 year ago

Nice -- the addresses in the search results look good now, based on some brief testing.

Are you also going to try to use the same data source to improve Places Nearby (#13)?

Oliver2213 commented 1 year ago

Yes; I still need to test if passing an empty string will return a list of POIs.