Skip to content

Commit 8b9306a

Browse files
author
Iakov Mishchenko
committed
Added api_key parameter for google_maps fixes #70
1 parent bfb752c commit 8b9306a

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

DependencyInjection/BazingaGeocoderExtension.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ public function load(array $configs, ContainerBuilder $container)
9292
$googleMapsParams['locale'],
9393
$googleMapsParams['region'],
9494
$googleMapsParams['use_ssl'],
95+
$googleMapsParams['api_key'],
9596
));
9697
}
9798

DependencyInjection/Configuration.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ public function getConfigTreeBuilder()
102102
->scalarNode('locale')->defaultNull()->end()
103103
->scalarNode('region')->defaultNull()->end()
104104
->booleanNode('use_ssl')->defaultFalse()->end()
105+
->scalarNode('api_key')->defaultNull()->end()
105106
->end()
106107
->end()
107108
->arrayNode('google_maps_business')

Resources/doc/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -253,6 +253,7 @@ bazinga_geocoder:
253253
locale: ~
254254
region: ~
255255
use_ssl: false
256+
api_key ~
256257
google_maps_business:
257258
client_id: ~ # Required
258259
api_key: ~

0 commit comments

Comments
 (0)