Showing
1 changed file
with
0 additions
and
12 deletions
... | @@ -74,18 +74,6 @@ function makeOutListener(infowindow) { | ... | @@ -74,18 +74,6 @@ function makeOutListener(infowindow) { |
74 | } | 74 | } |
75 | */ | 75 | */ |
76 | 76 | ||
77 | -searchAddrFromCoords(map.getCenter(), displayCenterInfo); | ||
78 | -function searchAddrFromCoords(coords, callback) { | ||
79 | - // 좌표로 행정동 주소 정보를 요청합니다 | ||
80 | - geocoder.coord2RegionCode(coords.getLng(), coords.getLat(), callback); | ||
81 | -} | ||
82 | -function displayCenterInfo(result, status) { | ||
83 | -if (status === kakao.maps.services.Status.OK) { | ||
84 | - var infoDiv = document.getElementById('you'); | ||
85 | - infoDiv.innerHTML = result[0].address_name; | ||
86 | -} | ||
87 | -} | ||
88 | - | ||
89 | function displayMarker(Position) { | 77 | function displayMarker(Position) { |
90 | var marker = new kakao.maps.Marker({ | 78 | var marker = new kakao.maps.Marker({ |
91 | map: map, | 79 | map: map, | ... | ... |
-
Please register or login to post a comment