Skip to content

Commit

Permalink
update: 도로명 주소, 지번 주소 반드시 가져오도록 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
tgyuuAn committed Aug 16, 2024
1 parent 74d8388 commit f2b400d
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,12 @@
new daum.Postcode({
oncomplete: function(data) {
var lotNumberAddress = data.jibunAddress; // 지번 주소 변수
var autoLotNumberAddress = data.autoJibunAddress;
var roadNameAddress = data.roadAddress; // 도로명 주소

var autoRoadNameAddress = data.autoRoadAddress;

// 도로명 주소와 지번 주소를 안드로이드 네이티브로 전송
window.android.onPostCodeReceived(roadNameAddress, lotNumberAddress);
window.android.onPostCodeReceived(roadNameAddress, autoRoadNameAddress, lotNumberAddress, autoLotNumberAddress);
},
width : '100%',
height : '100%'
Expand All @@ -38,4 +40,4 @@
}
</script>
</body>
</html>
</html>

0 comments on commit f2b400d

Please sign in to comment.