Merge branch '165-google-maps-api-call-optimization' into 'master'

Remove google maps distance and eta calculations #165

Closes #165

See merge request jankstudio/resq!197
This commit is contained in:
Kendrick Chan 2018-10-18 13:41:12 +00:00
commit 71bf61c61f

View file

@ -92,6 +92,9 @@ class MapTools
];
}
return $final_data;
/*
// get actual distance details with eta from google maps api
$raw_res = $this->mapGetDistances($point, $hubs);
$res = json_decode($raw_res, true);
@ -130,5 +133,6 @@ class MapTools
}
return $final_data;
*/
}
}