Skip to content

Inconsistent Search in V5 vs V6 #259

Description

@vchittar

Currently using the V6ForwardGeocodingRequestOptions methods as such:

query = "italian restaurants";
location = "buffalo ny";
        var requestOptions = V6ForwardGeocodingRequestOptions.builder("italian restaurants in buffalo ny")
                .autocomplete(false)
                .build();

        var newStuff = MapboxV6Geocoding.builder(token, requestOptions).build();

Sample Response when I get the name from the Feature object:

"North Buffalo"

This search is not giving me the same results as in v5.
Sample V5 Request:

        var client = MapboxGeocoding.builder()
                .accessToken(token)
                .mode(GeocodingCriteria.MODE_PLACES)
                .query("italian restaurants in buffalo ny")
                .autocomplete(true)
                .build();

Sample response:

Romeo & Juliet's Bakery & Caffé, 1292 Hertel Ave, Buffalo, New York 14216, United States
Is there an equivalent request in V6 as there was in V5?

Thank you!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions