Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit41f22b3

Browse files
committed
Merge branch 'master' of github.com:geocoder-php/GeocoderLaravel
2 parents47665e4 +0c7e3d8 commit41f22b3

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

‎README.md‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ database:
8585
],
8686
```
8787

88-
Finally, configure Geocoder forLaraver to use this store. Edit
88+
Finally, configure Geocoder forLaravel 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:
108108
If 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

113113
By 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 => [],

‎config/geocoder.php‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
| Cache Duration
2828
|-----------------------------------------------------------------------
2929
|
30-
| Specify the cache duration inminutes. The default approximates a
30+
| Specify the cache duration inseconds. 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
|
@@ -58,7 +58,7 @@
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 => [],

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp