-
Notifications
You must be signed in to change notification settings - Fork 106
MapBox Provider issue issue? #178
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
Comments
@raysirsharp Can you please provide the GeocoderLaravel package version as defined in your composer.lock file? I just pushed release 4.3.4 that should address this. |
Thanks for the quick response. I did have 4.3.0 and just updated to 4.3.4. Still getting the same error. @mikebronner |
@raysirsharp thanks for getting back to me. Looks like this is an issue with the MapBox Provider credentials, according to the exception. Can you try with Google, and see if it works there? I'm thinking this is down to your Mapbox configuration. I believe you need to pass in the arguments for the MapBox Provider as follows:
Please reference the MapBox Provider code: https://github.com/geocoder-php/mapbox-provider/ |
@mikebronner you are right, switching the order fixed it, like this: Thanks for the help! |
@raysirsharp awesome, glad you got it working! :) |
General Information
GeocoderLaravel Version:
Laravel Version: 6.18.27
PHP Version: 7.4.5
Operating System and Version: Homestead box
Issue Description
[describe what is going wrong in plain english]
Steps to Replicate
app('geocoder')->geocode('Los Angeles, CA')->get();
The text was updated successfully, but these errors were encountered: