|
@ -9,6 +9,9 @@ class Geocoder { |
|
|
if(!$response) |
|
|
if(!$response) |
|
|
return false; |
|
|
return false; |
|
|
|
|
|
|
|
|
|
|
|
if(!property_exists($response, 'address')) |
|
|
|
|
|
return false; |
|
|
|
|
|
|
|
|
$address = $response->address; |
|
|
$address = $response->address; |
|
|
|
|
|
|
|
|
$result = new geocode\Result; |
|
|
$result = new geocode\Result; |
|
|