피처 좌표 정보 없을때 알랏

This commit is contained in:
yschoi
2025-08-11 09:21:40 +09:00
parent 4c3d79f488
commit d86d0b0fca
2 changed files with 1 additions and 2 deletions
@@ -80,8 +80,6 @@ const Map = () => {
const mayGet = (k: string) => (feature.get ? feature.get(k) : undefined);
const safe = (v: any) => (v === undefined || v === null ? "-" : String(v));
console.log(feature);
// 레이어 유형별 대표 필드 추출(없으면 "-")
if (layerType === "tb_il_swage_prcs_fclt") {
// 하수처리시설
@@ -249,6 +249,7 @@ export const ProcSearchBar = ({ gisMaps, facilityTypes }: SearchBarProps) => {
nearest: true,
});
} else {
alert("위치정보를 찾을 수 없습니다.")
console.warn("geometry를 찾을 수 없습니다:", data);
}
} else {