mapbox / mapbox/mapbox-search-ios
Nearby gas stations missing from search results
Nobody has claimed this yet.
- Dominant language
- Swift
- Stars
- 28
- Forks
- 28
- PR merge metrics
- No merged PRs in 30d
Description
For multiple locations in the UK, the nearest gas stations appear to be missing from search results. Using 1.0.0-rc.8, here is my config for the MapboxSearchController:
func setupSearchController() -> MapboxSearchController {
let formatter = MKDistanceFormatter()
formatter.unitStyle = .abbreviated
formatter.units = self.settings?.distanceUnit == .miles ? .imperial : .metric
let configuration = Configuration(hideCategorySlots: true, distanceFormatter: formatter)
return MapboxSearchController(configuration: configuration)
}
Actual nearby gas stations (circled results not found by Mapbox):
Mapbox results:
Also, charging stations returns results from thousands of miles away? Mapbox only recognises 6 charging stations in the UK?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the MapboxSearchController setup and its Configuration, then reproduce the issue using UK locations and the gas-station and charging-station categories described here. Compare the returned results with the nearby stations shown in the screenshots; done means the expected nearby stations are returned and charging results are geographically relevant.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- swift
- Domain
- mobile-dev, search
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100