네이버 로드맵 좌료를 주소로 넣어주려면? 채택완료
아래 예제에 좌표대신 주소를 사용하려면 어떻게 해주어야 하나요?
var pano = null;
naver.maps.onJSContentLoaded = function() { // 아이디 혹은 지도좌표로 파노라마를 표시할 수 있습니다. pano = new naver.maps.Panorama("pano", { // panoId: "OregDk87L7tsQ35dcpp+Mg==", position: new naver.maps.LatLng(37.3599605, 127.1058814), pov: { pan: -135, tilt: 29, fov: 100 } }); };
답변 1개
https://navermaps.github.io/maps.js/docs/tutorial-Geocoder-Geocoding.html">https://navermaps.github.io/maps.js/docs/tutorial-Geocoder-Geocoding.html
네이버에서 주소를 좌표로 변환하는 api 가 있습니다.
주소를 이용하여 좌표를 받은후에 해당 연동하는 부분에 좌표를 넣으시면 됩니다.
주소 좌표변환은 다음, 구글에서 제공합니다.
답변에 대한 댓글 1개
댓글을 작성하려면 로그인이 필요합니다.
답변을 작성하려면 로그인이 필요합니다.
로그인
편안한 저녁시간 되세요.