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