Permitindo setar configs a partir do env

master
parent 33f665934b
commit ed115ecd2e

@ -2,8 +2,8 @@
return [ return [
/* /*
* The api key used when sending Geocoding requests to Google. * The api key used when sending Geocoding requests to Google.
*/ */
'key' => env('GOOGLE_MAPS_GEOCODING_API_KEY', ''), 'key' => env('GOOGLE_MAPS_GEOCODING_API_KEY', ''),
/* /*
@ -12,26 +12,26 @@ return [
* More info: https://developers.google.com/maps/faq#languagesupport * More info: https://developers.google.com/maps/faq#languagesupport
*/ */
'language' => '', 'language' => env('GOOGLE_MAPS_GEOCODING_LANGUAGE', ''),
/* /*
* The region param used to finetune the geocoding process. * The region param used to finetune the geocoding process.
* *
* More info: https://developers.google.com/maps/documentation/geocoding/requests-geocoding#RegionCodes * More info: https://developers.google.com/maps/documentation/geocoding/requests-geocoding#RegionCodes
*/ */
'region' => 'br', 'region' => env('GOOGLE_MAPS_GEOCODING_REGION', 'br'),
/* /*
* The bounds param used to finetune the geocoding process. * The bounds param used to finetune the geocoding process.
* *
* More info: https://developers.google.com/maps/documentation/geocoding/requests-geocoding#Viewports * More info: https://developers.google.com/maps/documentation/geocoding/requests-geocoding#Viewports
*/ */
'bounds' => 'Roraima', 'bounds' => env('GOOGLE_MAPS_GEOCODING_BOUNDS', 'Roraima'),
/* /*
* The country param used to limit results to a specific country. * The country param used to limit results to a specific country.
* *
* More info: https://developers.google.com/maps/documentation/javascript/geocoding#GeocodingRequests * More info: https://developers.google.com/maps/documentation/javascript/geocoding#GeocodingRequests
*/ */
'country' => 'Brazil', 'country' => env('GOOGLE_MAPS_GEOCODING_COUNTRY', 'Brazil'),
]; ];
Loading…
Cancel
Save