Now getting building coordinates from Google Maps Geocoding
This commit is contained in:
@@ -13,4 +13,17 @@ class DashboardController extends mfBaseController {
|
||||
protected function indexAction() {
|
||||
|
||||
}
|
||||
|
||||
protected function testAction() {
|
||||
$search = [
|
||||
'street' => "Kastellfeldgasse 20",
|
||||
'zip' => "8010",
|
||||
'city' => "Graz",
|
||||
'country' => "AT"
|
||||
];
|
||||
|
||||
$coords = Gmaps_Geocoding::getCoords($search);
|
||||
var_dump($coords);
|
||||
exit;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user