시설물 bbox 전략 수정

This commit is contained in:
yschoi
2025-07-26 20:51:56 +09:00
parent f087e55c3c
commit 93e8ec1df3
@@ -142,7 +142,19 @@ GisOlLayer.prototype = {
let returnLayer = this.makeLayer(option);
//레이어 소스 생성
let source = this.getVectorSourceBbox(option);
let source;
let lyrTyNm = option.lyrTyNm;
if(lyrTyNm == 'tb_ms_flood_dngr_map'
|| lyrTyNm == 'tb_ms_sbmrg_dngr_map'
|| lyrTyNm == 'tb_ms_swage_mhl'
|| lyrTyNm == 'tb_ms_swage_ppl'
) {
source = this.getVectorSourceBbox(option);
}else {
source = this.getVectorTileSource(option);
}
returnLayer.setSource(source);
//스타일 추가
returnLayer.setStyle(this.gisStyle.getLayerStyleFunction(returnLayer, option));