'); 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(); } let tabSwiperMenu=$('.js-tabSwiper-menu'); let tabSwiperMenuSwiperWrapper=tabSwiperMenu.find('.swiper-wrapper')[0]; let tabSwiperMenuSwiperSlides=tabSwiperMenu.find('.swiper-slide'); let totalSlideMenuWidth=0; tabSwiperMenuSwiperSlides.each((idx,slide)=>{ totalSlideMenuWidth+=tabSwiperMenu.find('.swiper-slide').eq(idx).outerWidth(true); }) let wrapperWidth=tabSwiperMenuSwiperWrapper.offsetWidth; console.log(totalSlideMenuWidth); console.log(tabSwiperMenuSwiperWrapper.offsetWidth) let menuSlide=true; if(wrapperWidth>=totalSlideMenuWidth) { menuSlide=false; $(".destinations__tabSwiper__menu.surround .swiper").css("margin-bottom","0px"); $(".destinations__tabSwiper__menu.surround .swiper").css("height","70px"); } $(".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); } } } }); $(window).resize(function() { if ($(window).width() <= 1200) { swiperPanel.allowTouchMove = true; } else { swiperPanel.allowTouchMove = false; } // 윈도우 크기 변경 시 progress bar 업데이트 updateProgressBar(swiperPanel); }).resize(); // 메뉴 기본 left 좌표값 tabMenu.each((index, menu) => { let offset=0; if(isPlanPop_rgnContentsView2=="Y") { $("#popup-contentDetail").find(".popup__container__group") offset=$("#popup-contentDetail").find(".popup__container__group")[0].getBoundingClientRect().left; } menuRectLeft.push(menu.getBoundingClientRect().left-offset); }); // 토글 버튼 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) => { if(menuSlide==false) { return; } 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':87740 } , 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 })); });
-
-
-
-
6
16
-
-
-
-
1 / 5
- Introduction
- Guide
- Basic info
- Map
- What's nearby
Gyeongbokgung Palace was built as the official palace of the Joseon dynasty by Yi Seong-gye, who becomes King Taejo and the founder of the new regime. Gyeongbokgung Palace is commonly referred to as the Northern Palace because its location in the north of Changdeokgung Palace in the east and Gyeonghuigung Palace in the west. Gyeongbokgung Palace is arguably the most beautiful and is the largest of all five palaces. Many Joseon kings were crowned here, including the 2nd King Jeongjong, 4th King Sejong, 6th King Danjong, 7th King Sejo, 9th King Seongjong, 11th King Jungjong, and the 13th King Myeongjong. The premises were once destroyed by fire during the Imjin War (1592-1598). However, all of the palace buildings were later restored under the leadership of Heungseondaewongun during the reign of King Gojong. The assassination of Empress Myeongseong, however, resulted in Gyeongbokgung Palace losing its function as a royal palace, eventually witnessing the downfall of the Joseon dynasty. Gyeongbokgung Palace retains the original Gyeongho*ru Pavilion, a prime example of Joseon architecture, and the Hyangwonjeong Pavilion and pond. The sculptures in the Geunjeongjeon Hall exemplify Joseon-era sculpture techniques. The west side of the area outside Heungnyemun Gate is occupied by the National Palace Museum of Korea, while the eastern side of Hyangwonjeong Pavilion within the Gyeongbokgung Palace is occupied by the National Folk Museum of Korea.
* Major cultural heritages
1) [Historic Site] Gyeongbokgung Palace
2) [National Treasure] Geunjeongjeon Hall of Gyeongbokgung Palace
3) [National Treasure] Gyeongho*ru Pavilion of Gyeongbokgung Palace
4) [Treasure] Jagyeongjeon Hall of Gyeongbokgung Palace
5) [Treasure] Chimney with Ten Symbols of Longevity in Relief at Jagyeongjeon Hall of Gyeongbokgung Palace
6) [Treasure] Chimneys in Amisan Garden of Gyeongbokgung Palace
7) [Treasure] Geunjeongmun Gate and Corridor of Gyeongbokgung Palace
8) [Treasure] Wind Streamer Pedestal of Gyeongbokgung Palace
-
Specialty Menu
Activities
Changing of the Guard, Guard Ceremony, Public Training
[Changing of the Guard] 10:00, 14:00 (2 times per day, about 20 min)
[Guard Ceremony] 11:00, 13:00 (2 times per day, about 10 min)
[Public Training] 09: 35, 13:35 (2 times per day, about 15 min)
-
Address
Address Directions
161, Sajik-ro, Jongno-gu, Seoul
서울특별시 종로구 사직로 161
-
Website
Website
-
Operating hours
Operating hours
January-February, November-December 09:00-17:00 (Last admission 16:00)
March-May, September-October 10:00-18:00 (Last admission 17:00)
June-August 09:00-18:30 (Last admission 17:30)
* Hours subject to change -
Holiday
Holiday
Tuesdays
-
Inquiries
Inquiries
Gyeongbokgung Palace Management Office +82-2-3700-3900
-
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