- 달력
- 차트
https://www.chartjs.org/docs/latest/samples/information.html
https://developers.google.com/chart/interactive/docs
- 지도
https://apis.map.kakao.com/web/sample/
* 다음 우편번호 검색 API
https://postcode.map.daum.net/guide
Daum 우편번호 서비스
우편번호 검색과 도로명 주소 입력 기능을 너무 간단하게 적용할 수 있는 방법. Daum 우편번호 서비스를 이용해보세요. 어느 사이트에서나 무료로 제약없이 사용 가능하답니다.
postcode.map.daum.net
<script src="//t1.daumcdn.net/mapjsapi/bundle/postcode/prod/postcode.v2.js"></script>
이 스크립트 추가
$("#btn-open-daum").click(function() {
new daum.Postcode({
oncomplete: function(data) {
$(":input[name=zipcode]").val(data.zonecode); // data.zonecode : 우편번호 값
$(":input[name=addr1]").val(data.roadAddress); // data.roadAddress : 도로명주소 값
}
}).open();
})
name=zipcode 인 곳에 우편번호값 넣음 (data.zonecode)
name=addr1 인 곳에 도로명주소값 넣음 (data.roadAddress)
'수업내용 > 프로젝트' 카테고리의 다른 글
[Spring] String joiner 요일 리스트를 테이블 한 칸에 표시하기 (0) | 2023.02.17 |
---|---|
[Spring/Security] .csrf().disable() (0) | 2023.02.15 |
[Spring/Security] 사용자/관리자 로그인 따로 처리하기 (시큐리티 커스텀) (0) | 2023.02.13 |
[Spring] 반환경로가 redirect일 때, Model 객체에 담은 값을 View로 전달하는 법 (0) | 2023.02.10 |
[Spring boot] 프로필 사진 업로드, 미리보기 (0) | 2023.02.07 |