다름이 아니라 구글맵 api를 가지고 현재위치에서 움직일때마다 지도에 표시되는 것 까지 만들었는데 direction api를 사용하는 법을 몰라서 이렇게 질문을 합니다
https://developers.google.com/maps/documentation/directions/overview 여기 사이트에가 보면
아래처럼 쓰라고 나오는데 이 부분을 어디에다가 써야하는지 몰라서 진행하는 과정에서 막혔습니다
https://maps.googleapis.com/maps/api/directions/json?origin=Disneyland&destination=Universal+Studios+Hollywood&key=YOUR_API_KEY