Skip to content

Conversation

@DieterHolvoet
Copy link
Contributor

Specify whether the Geocoding API should attempt approximate, as well as exact, matching when performing searches (true, default), or whether it should opt out of this behavior and only attempt exact matching (false). For example, the default setting might return Washington, DC for a query of wahsington, even though the query was misspelled.

https://docs.mapbox.com/api/search/#forward-geocoding

@jbelien
Copy link
Member

jbelien commented Oct 10, 2020

Hello @DieterHolvoet,

We fixed these last few days the Style CI. Could you merge our master branch so the Style CI check passes ?
Could you also add a test with the fuzzyMatch query parameter ?

Thanks.

@DieterHolvoet
Copy link
Contributor Author

DieterHolvoet commented Oct 10, 2020

Done! Would you mind adding the hacktoberfest-accepted label to this pull request?

@jbelien
Copy link
Member

jbelien commented Oct 10, 2020

Don't forget to add the cached response.
Could you also add a test with fuzzyMatch to true ?
Thanks.

@DieterHolvoet
Copy link
Contributor Author

Done!

@jbelien jbelien added hacktoberfest-accepted See https://hacktoberfest.digitalocean.com/hacktoberfest-update and removed need tests labels Oct 10, 2020
@jbelien jbelien merged commit 69e906b into geocoder-php:master Oct 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

hacktoberfest-accepted See https://hacktoberfest.digitalocean.com/hacktoberfest-update provider

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants