Steven Hong Posted 13 hours ago Posted 13 hours ago <div id="map" style="width:90%;height:360px;margin:0 auto 100px;"></div> <script src="https://oapi.map.naver.com/openapi/v3/maps.js?ncpClientId=ssirtbhxv8"></script> <script> var position = new naver.maps.LatLng(37.5665,126.9780); var map = new naver.maps.Map('map',{ center: position, zoom:15 }); var marker = new naver.maps.Marker({ position: position, map: map }); var infoWindow = new naver.maps.InfoWindow({ content: '<div style="padding:10px;font-size:14px;">(주)원테크엔지니어링</div>' }); infoWindow.open(map, marker); </script> 예를들어 등록 사이트 : https://sample.com/ https://sample.com 코드 구동 디렉토리 https://sample.com/map01
웅웅웅 Posted 12 hours ago Posted 12 hours ago https://navermaps.github.io/maps.js.ncp/docs/tutorial-2-Getting-Started.html script안에 url다시 확인해보세용
Recommended Posts
게시글 및 댓글을 작성하려면 로그인 해주세요.
로그인