@@ -85,7 +85,11 @@ class CitiesComponent | |||
public function callAddressApi($query) | |||
{ | |||
$provider = $this->getGeocoderProvider() ;; | |||
if(is_null($query)) { | |||
$query = ''; | |||
} | |||
$provider = $this->getGeocoderProvider() ; | |||
$query = GeocodeQuery::create($query)->withData('type', 'housenumber'); | |||
$results = $provider->geocodeQuery($query); | |||
$resultsToReturn = array(); |
@@ -5,7 +5,7 @@ | |||
} | |||
.form-check-label { | |||
display: block; | |||
display: inline-block; | |||
position: relative; | |||
padding-left: 26px; | |||
cursor: pointer; |