1var board_skin_path = "/skin/board/store"; 2 3var ps = new kakao.maps.services.Places(); 4 5function placesSearchCB (data, status, pagination) { 6 if (status === kakao.maps.services.Status.OK) { 7 8 9 var bounds = new kakao.maps.LatLngBounds(); 10 11 for (var i=0; i<data.length; i++) { 12 13 bounds.extend(new kakao.maps.LatLng(data[i].y, data[i].x)); 14 } 15 16 17 map.setBounds(bounds); 18 } 19} 20 function select_wr1(val,ind,tb) { 21 var msg = $(".mscon_box ").eq(0); 22 if(val != 'ì êµ'){ 23 $.ajax({ 24 async: false, 25 cache: false, 26 type: "POST", 27 url: board_skin_path + "/ajax_cat_list.php", 28 data: "val=" + val + "&index=" + ind + "&tb=" + tb , 29 dataType: "text", 30 success: function(response, textStatus, xhr) { 31 ps.keywordSearch(val, placesSearchCB); 32 33 msg.html(response); 34 msg.show(); 35 36 37 }, 38 error : function(xhr, textStatus) { 39 40 } 41 }); 42 }else{ 43 map.setCenter(new daum.maps.LatLng(36.74652339724229,127.69415693563047)); 44 map.setLevel(13); 45 } 46 } 47 function load_list(si,gungu,tb) { 48 var msg = $(".mscon_box ").eq(0); 49 $.ajax({ 50 async: false, 51 cache: false, 52 type: "POST", 53 url: board_skin_path + "/load_list.php", 54 data: "si=" + si + "&gungu=" + gungu + "&tb=" + tb, 55 dataType: "text", 56 success: function(response, textStatus, xhr) { 57 ps.keywordSearch(si+gungu, placesSearchCB); 58 msg.html(response); 59 msg.show(); 60 61 }, 62 error : function(xhr, textStatus) { 63 64 } 65 }); 66 } 67 function refresh(tb) { 68 var msg = $(".search_area.area"); 69 $(".area_sch").css({"height":"100%"}); 70 $.ajax({ 71 async: false, 72 cache: false, 73 type: "POST", 74 url: board_skin_path + "/load_cate.php", 75 data: "tb=" + tb, 76 dataType: "text", 77 success: function(response, textStatus, xhr) { 78 79 msg.html(response); 80 msg.show(); 81 82 }, 83 error : function(xhr, textStatus) { 84 85 } 86 }); 87 map.setCenter(new daum.maps.LatLng(36.74652339724229,127.69415693563047)); 88 map.setLevel(13); 89 } 90 function openpop(y,x,id,tb){ 91 $('.mscon_box ').animate({"top":"100%"}); 92 93 $(".area_sch").css({"height":"auto"}); 94 $(".map_pop").remove(); 95 96 $.get("/bbs/ajax_window.php?board=" + tb+"&wr_id="+id, function(data){ 97 var overlay = new daum.maps.CustomOverlay({ 98 content: data, 99 map: map, 100 position: new daum.maps.LatLng(y, x), 101 xAnchor: 0.5, 102 yAnchor: 1.5 103 }); 104 105 overlay.setMap(map); 106 map.setCenter(new daum.maps.LatLng(y, x)); 107 }); 108 109 110 } 111function getLocation() { 112 113 114 115 if (navigator.geolocation) { 116 navigator.geolocation.getCurrentPosition(function(position) { 117 118 var lat = position.coords.latitude, 119 lon = position.coords.longitude; 120 121 var locPosition = new daum.maps.LatLng(lat, lon); 122 var circle = new daum.maps.Circle({ 123 map: map, 124 center: locPosition, 125 radius: 700, 126 strokeWeight: 3, 127 strokeColor: '#001970', 128 strokeOpacity: 1, 129 strokeStyle: 'solid', 130 fillColor: '#4d5e9b', 131 fillOpacity: 0.5 132 }); 133 var marker = new daum.maps.Marker({ 134 map: map, 135 position: locPosition 136 }); 137 map.setCenter(locPosition); 138 }); 139 140 } else { 141 142 var locPosition = new daum.maps.LatLng(37.5666805, 126.9784147), 143 message = 'geolocationì ì¬ì©í ì ììµëë¤..' 144 145 var marker = new daum.maps.Marker({ 146 map: map, 147 position: locPosition 148 }); 149 var iwContent = message, 150 iwRemoveable = true; 151 152 153 var infowindow = new daum.maps.InfoWindow({ 154 content : iwContent, 155 removable : iwRemoveable 156 }); 157 158 159 infowindow.open(map, marker); 160 161 162 map.setCenter(locPosition); 163 } 164 165} 166 167$(document).ready(function(){ 168 $(".search_option li").click(function(){ 169 num = $(this).index(); 170 num = num+1; 171 val = $("input[name=wr_1"+num+"]").val(); 172 $(".select_list li").removeClass("on"); 173 174 if(val == 1){ 175 $(this).removeClass("on"); 176 $("input[name=wr_1"+num+"]").val(''); 177 }else{ 178 $(this).addClass("on"); 179 $("input[name=wr_1"+num+"]").val('1'); 180 } 181 document.fsearch.submit(); 182 }); 183 184 $(".opt_sch li").click(function(){ 185 num = $(this).index(); 186 num = num+1; 187 val = $("input[name=wr_1"+num+"]").val(); 188 $(".select_list li").removeClass("on"); 189 190 if(val == 1){ 191 $(this).removeClass("on"); 192 $("input[name=wr_1"+num+"]").val(''); 193 }else{ 194 $(this).addClass("on"); 195 $("input[name=wr_1"+num+"]").val('1'); 196 } 197 document.fsearch2.submit(); 198 }); 199 200 201 202 203 204});
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.