From 28db60e92d454447fe1575c97fbb24b0400cdb8e Mon Sep 17 00:00:00 2001 From: Kendrick Chan Date: Thu, 18 Oct 2018 21:39:39 +0800 Subject: [PATCH] Remove google maps distance and eta calculations #165 --- src/Service/MapTools.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Service/MapTools.php b/src/Service/MapTools.php index aa38cd6d..f02618ba 100644 --- a/src/Service/MapTools.php +++ b/src/Service/MapTools.php @@ -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; + */ } }