|
@@ 92-99 (lines=8) @@
|
| 89 |
|
)); |
| 90 |
|
} |
| 91 |
|
|
| 92 |
|
if (isset($config['providers']['arcgis_online'])) { |
| 93 |
|
$params = $config['providers']['arcgis_online']; |
| 94 |
|
|
| 95 |
|
$this->addProvider('arcgis_online', array( |
| 96 |
|
$params['source_country'], |
| 97 |
|
$params['use_ssl'], |
| 98 |
|
)); |
| 99 |
|
} |
| 100 |
|
|
| 101 |
|
if (isset($config['providers']['google_maps_business'])) { |
| 102 |
|
$googleMapsBusinessParams = $config['providers']['google_maps_business']; |
|
@@ 180-188 (lines=9) @@
|
| 177 |
|
$container->setDefinition('bazinga_geocoder.provider.maxmind_binary', $provider); |
| 178 |
|
} |
| 179 |
|
|
| 180 |
|
if (isset($config['providers']['opencage'])) { |
| 181 |
|
$openCageParams = $config['providers']['opencage']; |
| 182 |
|
|
| 183 |
|
$this->addProvider('opencage', array( |
| 184 |
|
$openCageParams['api_key'], |
| 185 |
|
$openCageParams['use_ssl'], |
| 186 |
|
$openCageParams['locale'], |
| 187 |
|
)); |
| 188 |
|
} |
| 189 |
|
|
| 190 |
|
if (isset($config['providers']['cache'])) { |
| 191 |
|
$params = $config['providers']['cache']; |