'); contsTypeMap[contsType].vPage = 1; contsTypeMap[contsType].vTotalPages = 1; } else { $("#"+contsType+"SearchMo").show(); } if (contsTypeMap[contsType].vTotalCount == 0) { $("#"+contsType+"SearchMo").hide(); } else { if ($("#"+contsType+"List li").length == contsTypeMap[contsType].vTotalCount) { $("#"+contsType+"SearchMo").hide(); } else { if(contsTypeMap[contsType].vPage==5) { $("#"+contsType+"SearchMo").hide(); } else { $("#" + contsType + "SearchMo").show(); } } } $component.unblockUI(); } }); } function doSearchMo(contsType) { contsTypeMap[contsType].vPage++; doSearch(contsType); if(contsTypeMap[contsType].vPage==5) { $("#"+contsType+"SearchMo").hide(); } } function drawList(contsList,type) { let htmlList=''; if(contsList) { for (let i = 0; i < contsList.length; i++) { let cont = contsList[i]; let contType = ""; let typeNum=0; if (cont.contsSeCd == 'CONTS_SE__RMS_SH') { contType = 'shopping'; typeNum=3; } else if (cont.contsSeCd == 'CONTS_SE__RMS_FD') { contType = 'foods'; typeNum=2; } else if (cont.contsSeCd == 'CONTS_SE__RMS_TU') { contType = 'attraction' typeNum=1; } else if (cont.contsSeCd == 'CONTS_SE__RMS_EV') { contType = 'festivals'; typeNum=4; } else if (cont.contsSeCd == 'CONTS_SE__RMS_LS') { contType = 'sport'; typeNum=5; } else if (cont.contsSeCd == 'CONTS_SE__RMS_AC') { contType = 'staying' typeNum=2; } htmlList += '
' } } $('#'+type+'List').append(htmlList); if (contsTypeMap[type].vTotalCount == 0) { contsTypeMap[type].vTotalPages = 1; $('#'+type+'List').html('
- No results found
'); $("#"+type+"SearchMo").hide(); } else { if ($("#"+type+"List li").length == contsTypeMap[type].vTotalCount) { $("#"+type+"SearchMo").hide(); } else { $("#"+type+"SearchMo").show(); } } } // 서브 템플릿 스와이프 var handleSwiperTemplateRgnContents = () => { const $swiper = ".js-swiper-template2"; if (get($swiper)) { const swiper01 = new Swiper($swiper, { slidesPerView: 1, slidesPerGroup: 1, spaceBetween: 0, navigation: { nextEl: ".swiper-button-next", prevEl: ".swiper-button-prev", }, pagination: { el: ".swiper-pagination", type: "fraction", }, }); } }; $(document).ready(function() { if(isPlanPop_rgnContentsView2 === "Y") { handleSwiperTemplateRgnContents(); } $(".vkmaplink").attr("href",vkmaplink); var $section = $('#' + 'destPop-02'); var type=""; if ($section.length > 0) { var menuRectLeft = []; var tabMenu = $section.find('.js-tabMenu'); var selected = "is-selected"; var isTouchDevice = (navigator.maxTouchPoints || 'ontouchstart' in document.documentElement); type = (isTouchDevice) ? "touchend" : "click"; // 스와이프 탭 매뉴 var swiperMenu = new Swiper('.js-tabSwiper-menu', { slidesPerView: 'auto', //보기당 슬라이드 수 spaceBetween: 14, // 슬라이드 사이의 거리(px) preventClicks: true, // 스와이프 하는 동안 링크 클릭 방지 preventClicksPropagation: true, // 스와이프 하는 동안 링크에서 클릭 이벤트 전파 중지 //observer: true, // 스타일을 변경하거나 하위요소를 수정할 떄마다 Swiper가 업데이트 //observeParents: true, // 상위 요소에 대한 감시필요 여부 pagination: { el: '.swiper-pagination', type: 'progressbar', } }); // 스와이프 탭패널 var startNum, endNum; var swiperPanel = new Swiper(".js-tabSwiper-panel1", { slidesPerView: "auto", spaceBetween: 0, allowTouchMove:false, on : { slideChange(swiper) { const activeIdx = swiper.activeIndex; const target = $section.find('.swiper-slide').get(activeIdx); // 탭메뉴 클래스 삭제 tabMenu.parent().removeClass(selected); handlerMenuCenter(activeIdx, target); target.classList.add(selected); // 홈페이지 영역 Home 탭에서만 노출 if(activeIdx==0){ $('.link__group').removeClass('d-none'); } else { $('.link__group').addClass('d-none'); } updateProgressBar(swiper); }, touchStart(swiper, event) { (isTouchDevice) ? startNum = swiper.touches.startX : startNum = event.clientX; }, touchEnd(swiper, event) { const speed = 500; (isTouchDevice) ? endNum = swiper.touches.currentX : endNum = event.clientX; if (startNum > endNum && startNum - endNum >= 100) { // console.log("우 > 좌 터치시"); swiperPanel.slideNext(speed); } else if (startNum < endNum && endNum - startNum >= 100) { // console.log("좌 > 우 터치시"); swiperPanel.slidePrev(speed); } } } }); updateProgressBar(swiperPanel); $(window).resize(function() { if ($(window).width() <= 1200) { swiperPanel.allowTouchMove = true; } else { swiperPanel.allowTouchMove = false; } // 윈도우 크기 변경 시 progress bar 업데이트 updateProgressBar(swiperPanel); }).resize(); // 메뉴 기본 left 좌표값 tabMenu.each((index, menu) => { menuRectLeft.push(menu.getBoundingClientRect().left); }); // 토글 버튼 var handlerToggleBtn = (e) => { e.preventDefault(); ($section.classList.contains("is-toggle-up")) ? $section.classList.remove("is-toggle-up") : $section.classList.add("is-toggle-up") } // 탭메뉴 클릭 이벤트 tabMenu.each((index, menu) => { menu.addEventListener("click", (e) => { const { currentTarget } = e; const target = currentTarget.parentNode; // 탭메뉴 클래스 삭제 //tabMenu.parent().removeClass(selected); target.classList.remove(selected); handlerMenuCenter(index, target); target.classList.add(selected); swiperPanel.slideTo(index, 0); updateProgressBar(swiperPanel); }); }); // 탭메뉴 클릭, 가운데 정렬 var handlerMenuCenter = (index, target) => { const snbwrap = $section.find('.swiper-wrapper').get(0); const boxWidth = $section.width(); const wrapWidth = snbwrap.scrollWidth; const targetPos = menuRectLeft[index]; const selectTargetPos = targetPos + target.offsetWidth/2; let pos; if (selectTargetPos <= boxWidth/2) { pos = 0; } else if (wrapWidth - selectTargetPos <= boxWidth/2) { pos = wrapWidth - boxWidth + 27; } else { pos = targetPos - (boxWidth/2) + (target.offsetWidth/2); } if(wrapWidth > boxWidth) { setTimeout(function(){ $(snbwrap).css({ transform: 'translate3d('+ (pos*-1) + 'px, 0, 0)', 'transition-duration': '500ms' }); }, 200); } } } $.ajax({ url: '/svc/contents/getContentsByDistance.do', method: 'GET', data: {'lat':lat, 'lot':lot, 'distance':50, 'vcontsId':104722 } , success:function (data){ console.log(data); contsTypeMap['all'].vTotalCount=data['allList'].data.pagination.totalCount; drawList(data['allList'].data.contents,"all"); contsTypeMap['attraction'].vTotalCount=data['attractionList'].data.pagination.totalCount; drawList(data['attractionList'].data.contents,"attraction"); contsTypeMap['restaurants'].vTotalCount=data['restaurantsList'].data.pagination.totalCount; drawList(data['restaurantsList'].data.contents,"restaurants"); contsTypeMap['accommodations'].vTotalCount=data['accommodationsList'].data.pagination.totalCount; drawList(data['accommodationsList'].data.contents,"accommodations"); contsTypeMap['shopping'].vTotalCount=data['shoppingList'].data.pagination.totalCount; drawList(data['shoppingList'].data.contents,"shopping"); contsTypeMap['festival'].vTotalCount=data['festivalList'].data.pagination.totalCount; drawList(data['festivalList'].data.contents,"festival"); contsTypeMap['sports'].vTotalCount=data['sportsList'].data.pagination.totalCount; drawList(data['sportsList'].data.contents,"sports"); } } ) // 슬라이드 설정 var localSwiper = new Swiper('.local_content', { slidesPerView: 'auto', spaceBetween: 14, slideToClickedSlide: true, watchOverflow : true, preventClicks: true, // 스와이프 하는 동안 링크 클릭 방지 preventClicksPropagation: true, breakpoints: { 1200: { touchRatio: 1, }, } }); // 클릭 이벤트 핸들러 $(".scroll_move").click(function(event){ event.preventDefault(); $('.scroll_move').removeClass('active'); $(this).addClass('active'); $(this).siblings().removeClass('active'); console.log(".scroll_move"); // $('html,body').animate({scrollTop:$(this.hash).offset().top - 100}, 500); }); $('.scroll_move').click(function(e) { e.preventDefault(); var targetId = $(this).attr('href'); var targetOffset = $(targetId).offset().top; // 상단 고정 요소의 높이를 고려 //var headerHeight = $('.scroll_move_content').outerHeight() || 0; let heightOffset=110; // 여정플래너 팝업을 통해 들어온 경우 if(isPlanPop_rgnContentsView2 === "Y"){ if ($(window).width() <= 1200) { // Mobile $("#popup-contentDetail li[class*='scroll']").animate({ scrollTop: ($("#popup-contentDetail li[class*='scroll']").scrollTop() + targetOffset) - $(".popup__header__group").outerHeight() }, 500); }else{ // PC $("#popup-contentDetail li[class*='scroll']").animate({ scrollTop : targetOffset - $("#popup-contentDetail li[class*='scroll']").offset().top + $("#popup-contentDetail li[class*='scroll']").scrollTop() }, 500); } }else{ // 모바일 화면에서는 다른 오프셋을 적용 if ($(window).width() <= 1200) { // 모바일 화면 조건에서만 적용되는 오프셋 조정 $('html, body').animate({ scrollTop: targetOffset - heightOffset }, 500); } else { // 비모바일 화면에서는 일반 오프셋 적용 $('html, body').animate({ scrollTop: targetOffset - 140 }, 500); } } }); var wind = $(window), header = $('.local_contentBox'), headerOffsetTop = header.offset().top; wind.scroll(function(){ if($(this).scrollTop() >= headerOffsetTop - 300){ header.addClass('sticky'); }else{ header.removeClass('sticky'); } }); // surroundings_tab on/off var position = new naver.maps.LatLng(lat, lot); var map = new naver.maps.Map('map3', { center: position, zoom: 13 ,zoomControl : true, //Zoom 컨트롤 표시여부 zoomControlOptions : { //Zoom 컨트롤 옵션 style: naver.maps.ZoomControlStyle.SMALL, position : naver.maps.Position.TOP_RIGHT } }); var markers = []; markers.push(new naver.maps.Marker({ map: map, position: position })); });
-
-
-
-
7
-
-
-
-
1 / 10
- Introduction
- Basic info
- Map
- What's nearby
Once known as Gyeonseongsa Temple, Bongeunsa Temple is located north of COEX, and was constructed in the 10th year of Silla King Weongseong’s reign (794). In 1498, Queen Jeonghyeon refurbished Gyeonseongsa Temple and renamed it Bongeunsa Temple.
Originally located near the Royal Tomb of King Seongjong, the temple was transferred to its current location during Joseon King Myeongjong’s reign. The temple is home to 3,479 Buddhist scriptures of 13 types, including the works of Kim Jeong-hee. The Buddhist ceremony called Jeongdaebulsa is held on the ninth day of the eighth month of the lunar calendar, where monks march carrying the scriptures on their heads and recite the Beopseongge (Buddhist rites).
-
Address
Address Directions
531, Bongeunsa-ro, Gangnam-gu, Seoul
서울특별시 강남구 봉은사로 531
-
Website
-
Holiday
Holiday
N/A (Open all year round)
-
Inquiries
Inquiries
• 1330 Travel Hotline: +82-2-1330
(Korean, English, Japanese, Chinese)
• For more info: +82-2-3218-4800 -
Parking
Parking
Available
-
Use information
Usage info
Restroom
Map Directions
What's nearby Here are some recommended destinations nearby! Attractions within 50 kilometers are arranged in the order of closest distance.
All
Attractions
Restaurants
Accommodations
Shopping
Festivals/Events/Performances
Leisure Sports