디버깅용 콘솔 로그 삭제

This commit is contained in:
yschoi
2025-08-14 11:32:11 +09:00
parent b5150c6f35
commit 39a78f475f
4 changed files with 9 additions and 9 deletions
@@ -56,9 +56,6 @@ export function CtpvSggPrcsFcltSelectBox({
}
if (setSwtrmtFcltNm) setSwtrmtFcltNm("");
})();
console.log("ctpv", ctpv);
console.log("sgg", sgg);
}, []);
useEffect(() => {
+2 -3
View File
@@ -18,7 +18,7 @@ export const fetchCtpv = async (set: (state: any) => void) => {
text: f.properties.mctpv_korn_nm,
val: f.properties.mctpv_cd,
}))
.sort((a, b) => {
.sort((a:any, b:any) => {
// 커스텀 순서 정의
const customOrder = [
"서울특별시",
@@ -69,9 +69,8 @@ export const fetchSgg = async (set: (state: any) => void) => {
text: f.properties.sgg_korn_nm,
val: f.properties.sgg_cd,
}))
.sort((a, b) => a.text.localeCompare(b.text, 'ko'));
.sort((a:any, b:any) => a.text.localeCompare(b.text, 'ko'));
console.log('시군구 데이터', list);
set({ sgg: list });
};
@@ -128,7 +128,6 @@ export function SearchBar({ gisMaps, ctpvCode, sggCode }: CtpvSggPrcsFcltSelectB
val: f.properties.sgg_cd,
}));
console.log('시군구 데이터', list);
setSgg(list);
};
@@ -60,6 +60,11 @@ GisOlLayer.prototype = {
zIndex: options?.drawOrdr ? options?.drawOrdr : 1,
};
let returnLayer = new VectorImageLayer(layerOptions);
//스타일 추가
returnLayer.setStyle(this.gisStyle.getLayerStyleFunction(returnLayer, options));
returnLayer.set('id', options.id + '');
this.layers.push(returnLayer);
return returnLayer;
},
@@ -162,8 +167,8 @@ GisOlLayer.prototype = {
returnLayer.setSource(source);
//스타일 추가
returnLayer.setStyle(this.gisStyle.getLayerStyleFunction(returnLayer, option));
returnLayer.set('id', option.id + '');
// returnLayer.setStyle(this.gisStyle.getLayerStyleFunction(returnLayer, option));
// returnLayer.set('id', option.id + '');
return returnLayer;
},
/**