File tree Expand file tree Collapse file tree 1 file changed +17
-3
lines changed
Expand file tree Collapse file tree 1 file changed +17
-3
lines changed Original file line number Diff line number Diff line change 11<?php
22
3+ use Ivory \HttpAdapter \CurlHttpAdapter ;
4+ use Geocoder \Provider \BingMaps ;
5+ use Geocoder \Provider \FreeGeoIp ;
6+ use Geocoder \Provider \GoogleMaps ;
7+
38/**
49 * This file is part of the GeocoderLaravel library.
510 *
1318 // Providers get called in the chain order given here.
1419 // The first one to return a result will be used.
1520 'providers ' => [
16- 'Geocoder\Provider\GoogleMaps ' => ['fr-FR ' , 'France ' , true ],
17- 'Geocoder\Provider\FreeGeoIp ' => null ,
21+ GoogleMaps::class => [
22+ 'en_US ' ,
23+ null ,
24+ true ,
25+ env ('GOOGLE_MAPS_API_KEY ' ),
26+ ],
27+ BingMaps::class => [
28+ 'en_US ' ,
29+ env ('BING_MAPS_API_KEY ' ),
30+ ],
31+ FreeGeoIp::class => null ,
1832 ],
19- 'adapter ' => ' Ivory\HttpAdapter\Guzzle6HttpAdapter ' ,
33+ 'adapter ' => CurlHttpAdapter::class ,
2034];
You can’t perform that action at this time.
0 commit comments