File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -85,7 +85,7 @@ database:
8585 ],
8686```
8787
88- Finally, configure Geocoder for Laraver to use this store. Edit
88+ Finally, configure Geocoder for Laravel to use this store. Edit
8989` config/geocoder.php ` :
9090``` php
9191 "cache" => [
@@ -108,7 +108,7 @@ You can disable caching on a query-by-query basis as needed, like so:
108108If you are upgrading and have previously published the geocoder config file, you
109109 need to add the ` cache-duration ` variable, otherwise cache will be disabled
110110 (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.
112112
113113By default, the configuration specifies a Chain provider, containing the
114114 GoogleMaps provider for addresses as well as reverse lookups with lat/long,
@@ -161,7 +161,7 @@ return [
161161 'providers' => [
162162 Chain::class => [
163163 GoogleMaps::class => [
164- env('GOOGLE_MAPS_LOCALE', 'en-US '),
164+ env('GOOGLE_MAPS_LOCALE', 'us '),
165165 env('GOOGLE_MAPS_API_KEY'),
166166 ],
167167 GeoPlugin::class => [],
Original file line number Diff line number Diff line change 2727 | Cache Duration
2828 |-----------------------------------------------------------------------
2929 |
30- | Specify the cache duration in minutes . The default approximates a
30+ | Specify the cache duration in seconds . The default approximates a
3131 | "forever" cache, but there are certain issues with Laravel's forever
3232 | caching methods that prevent us from using them in this project.
3333 |
5858 'providers ' => [
5959 Chain::class => [
6060 GoogleMaps::class => [
61- env ('GOOGLE_MAPS_LOCALE ' , 'en-US ' ),
61+ env ('GOOGLE_MAPS_LOCALE ' , 'us ' ),
6262 env ('GOOGLE_MAPS_API_KEY ' ),
6363 ],
6464 GeoPlugin::class => [],
You can’t perform that action at this time.
0 commit comments