2017-10-04 2 views
0

구글 방향 API로 overview_path를 얻으려고하지만 응답에 나타나지 않습니다.php에서 Google Direction API를 사용하여 routeBoxer를 사용하여 상자를 가져 오는 방법은 무엇입니까?

js SDK를 사용할 때 overview_path 배열을 라우트 배열로 가져오고 있지만 postman에서 방향 API를 호출하면 overview_path 배열이 라우트 배열에 없습니다. 우편 배달부의 URL은 다음과 같습니다.

https://maps.googleapis.com/maps/api/directions/json?origin=Disneyland&destination=Universal+Studios+Hollywood4&key=please_add_your_key&alternatives=true&units=metric&mode=driving 

routeBox를 사용하여 경로를 입력하려고합니다.

답변