/**
  * Add points to an existing long lat
  * @param $request
  * @return Response
  */
 public function addPointsToPath(Request $request)
 {
     $new_points = $request['points'];
     $array = GeoHelper::sanitizePoints($new_points);
     //dd($array);
     $old_path = $request['path'];
     $decoded_path = GeoHelper::decode($old_path);
     $points = array_merge($decoded_path, $array);
     return GeoHelper::encode($points);
 }