카카오내비 SDK와 관련된 질문과 답변을 올리는 카테고리입니다.
카카오 내비 길찾기 시 sX와 sY를 설정하여도 현재위치가 출발 좌표로 인식됩니다. 출발좌표는 변경이 안되나요?
Kakao.Navi.start({ name: destination, x: parseFloat(destination_lon), y: parseFloat(destination_lat), coordType: 'wgs84', rpOption: 1 , sX: 127.112088162, sY: 37.3927935375, viaPoints: [{ name: 'test', x:127.112088162, y:37.3927935375 }] });
경유지와 도착지는 잘 나타나집니다.
url입니다. 앱키는 지웠습니다.
https://kakaonavi-wguide.kakao.com/navigate.html?appkey=키&apiver=1.0&extras=%7B%22KA%22%3A%22sdk%2F1.39.15%20os%2Fjavascript%20sdk_type%2Fjavascript%20lang%2Fko-KR%20device%2FLinux_armv8l%20origin%2Fhttp%253A%252F%252F113.198.236.105%22%7D¶m=%7B%22destination%22%3A%7B%22name%22%3A%22%EB%8D%95%EC%88%98%EA%B6%81%EC%A4%91%EB%AA%85%EC%A0%84%22%2C%22x%22%3A126.97502%2C%22y%22%3A37.56608%7D%2C%22option%22%3A%7B%22coord_type%22%3A%22wgs84%22%2C%22vehicle_type%22%3A1%2C%22rpoption%22%3A1%2C%22route_info%22%3Atrue%2C%22s_x%22%3A127.112088162%2C%22s_y%22%3A37.3927935375%7D%2C%22via_list%22%3A%5B%7B%22name%22%3A%22test%22%2C%22x%22%3A127.112088162%2C%22y%22%3A37.3927935375%7D%5D%7D