- Notifications
You must be signed in to change notification settings - Fork105
Closed
Description
General Information
GeocoderLaravel Version: ^4.0
Laravel Version: 5.5.11
PHP Version: 7.2
Operating System and Version: Windows 10
Description
I have this simple code to try out this package:
return app('geocoder')->geocode('Los Angeles, CA')->get();
But everytime it always return me
[{},{},{},{},{}]this is my geocoder.php:
return [ 'cache-duration' => 0, 'providers' => [ Chain::class => [ GoogleMaps::class => [ 'en-US', env('GOOGLE_MAPS_API_KEY'), ], ], GoogleMaps::class => [ 'us', env('GOOGLE_MAPS_API_KEY'), ], ], 'adapter' => Client::class,];All GOOGLE_MAPS_API_KEY already setup. If I rundd(app('geocoder')->geocode('Los Angeles, CA')->get()) I can see the results. Only when I put return it return me empty.
Metadata
Metadata
Assignees
Labels
No labels