File tree 2 files changed +5
-5
lines changed
2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -85,7 +85,7 @@ database:
85
85
],
86
86
```
87
87
88
- Finally, configure Geocoder for Laraver to use this store. Edit
88
+ Finally, configure Geocoder for Laravel to use this store. Edit
89
89
` config/geocoder.php ` :
90
90
``` php
91
91
"cache" => [
@@ -108,7 +108,7 @@ You can disable caching on a query-by-query basis as needed, like so:
108
108
If you are upgrading and have previously published the geocoder config file, you
109
109
need to add the ` cache-duration ` variable, otherwise cache will be disabled
110
110
(it will default to a ` 0 ` cache duration). The default cache duration provided
111
- by the config file is ` 999999999 ` minutes , essentially forever.
111
+ by the config file is ` 999999999 ` seconds , essentially forever.
112
112
113
113
By default, the configuration specifies a Chain provider, containing the
114
114
GoogleMaps provider for addresses as well as reverse lookups with lat/long,
@@ -161,7 +161,7 @@ return [
161
161
'providers' => [
162
162
Chain::class => [
163
163
GoogleMaps::class => [
164
- env('GOOGLE_MAPS_LOCALE', 'en-US '),
164
+ env('GOOGLE_MAPS_LOCALE', 'us '),
165
165
env('GOOGLE_MAPS_API_KEY'),
166
166
],
167
167
GeoPlugin::class => [],
Original file line number Diff line number Diff line change 27
27
| Cache Duration
28
28
|-----------------------------------------------------------------------
29
29
|
30
- | Specify the cache duration in minutes . The default approximates a
30
+ | Specify the cache duration in seconds . The default approximates a
31
31
| "forever" cache, but there are certain issues with Laravel's forever
32
32
| caching methods that prevent us from using them in this project.
33
33
|
58
58
'providers ' => [
59
59
Chain::class => [
60
60
GoogleMaps::class => [
61
- env ('GOOGLE_MAPS_LOCALE ' , 'en-US ' ),
61
+ env ('GOOGLE_MAPS_LOCALE ' , 'us ' ),
62
62
env ('GOOGLE_MAPS_API_KEY ' ),
63
63
],
64
64
GeoPlugin::class => [],
You can’t perform that action at this time.
0 commit comments