Skip to content

Nearby gas stations missing from search results #207

@RL-William-Coates

Description

@RL-William-Coates

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions