Closed Oliver2213 closed 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)?
Yes; I still need to test if passing an empty string will return a list of POIs.
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.