Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nearby gas stations missing from search results #207

Open
RL-William-Coates opened this issue Apr 9, 2024 · 0 comments
Open

Nearby gas stations missing from search results #207

RL-William-Coates opened this issue Apr 9, 2024 · 0 comments

Comments

@RL-William-Coates
Copy link

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):
SCR-20240409-lpsv

Mapbox results:
SCR-20240409-lqga

Also, charging stations returns results from thousands of miles away? Mapbox only recognises 6 charging stations in the UK?
SCR-20240409-ltjk

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant