Ojimin

Revise get location from user

......@@ -74,18 +74,6 @@ function makeOutListener(infowindow) {
}
*/
searchAddrFromCoords(map.getCenter(), displayCenterInfo);
function searchAddrFromCoords(coords, callback) {
// 좌표로 행정동 주소 정보를 요청합니다
geocoder.coord2RegionCode(coords.getLng(), coords.getLat(), callback);
}
function displayCenterInfo(result, status) {
if (status === kakao.maps.services.Status.OK) {
var infoDiv = document.getElementById('you');
infoDiv.innerHTML = result[0].address_name;
}
}
function displayMarker(Position) {
var marker = new kakao.maps.Marker({
map: map,
......