Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: 출발, 도착지가 가까운 경우 소요시간 0분으로 출력되는 문제 #692

Open
eun-byeol opened this issue Oct 10, 2024 · 0 comments

Comments

@eun-byeol
Copy link
Contributor

📝 에러 화면

image

GS 사당 본점, 사당역 소요시간 0분으로 출력

원인

image -> ODsay 응답 결과 700m 이내라 소요시간 계산 못함 -> 우리가 700m 이내인 경우 0분을 반환하고 있어서임

해결방법

  1. 임의의 시간(10분)을 반환한다.
  2. 구글 api로 다시 소요시간 계산한다.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: No status
Development

No branches or pull requests

1 participant