Provide more filtering options of nearby places e.g., places to eat, parks, businesses etc
jchudge opened this issue · comments
Apple MapKit (which replaced Bing as the search provider) does appear to provide some category filters we could use: https://developer.apple.com/documentation/mapkit/mkpointofinterestcategory
Which file would I edit to get started working on this?
The "Places Nearby" filtering happens here: https://github.com/soundscape-community/soundscape/blob/main/apps/ios/GuideDogs/Code/Visual%20UI/Helpers/Nearby%20Table/NearbyTableFilter.swift
Note that you can deduce the original filtering categories from the localized strings (the open-source release apparently purged them from the English localization, but not the others) : https://github.com/soundscape-community/soundscape/blob/main/apps/ios/GuideDogs/Assets/Localization/es-ES.lproj/Localizable.strings#L1842
See also the comments on #13. For an example of querying Apple MapKit, see PR #21.