diff --git a/apps/wr/app/(popUp-layout)/mapDrgtPopUp/median.ts b/apps/wr/app/(popUp-layout)/mapDrgtPopUp/median.ts index ab63e7c91..6a216813e 100644 --- a/apps/wr/app/(popUp-layout)/mapDrgtPopUp/median.ts +++ b/apps/wr/app/(popUp-layout)/mapDrgtPopUp/median.ts @@ -1,6 +1,6 @@ -import { boundingExtent, getCenter } from 'ol/extent'; -import Feature from 'ol/Feature'; -import Geometry from 'ol/geom/Geometry'; +import { boundingExtent, getCenter } from 'ol/extent.js'; +import Feature from 'ol/Feature.js'; +import Geometry from 'ol/geom/Geometry.js'; export function medianCoordinate2D(feature: Feature) { // Feature를 입력 받아 중심 좌표를 계산하는 함수 diff --git a/apps/wr/app/(popUp-layout)/mapDrgtPopUp/searchBar.tsx b/apps/wr/app/(popUp-layout)/mapDrgtPopUp/searchBar.tsx index 21a98d696..110dc377a 100644 --- a/apps/wr/app/(popUp-layout)/mapDrgtPopUp/searchBar.tsx +++ b/apps/wr/app/(popUp-layout)/mapDrgtPopUp/searchBar.tsx @@ -5,9 +5,9 @@ import { SelectBox } from '@common/business_components/ui' import { Label, Button } from '@common/components'; import { type SelectDataType } from "@common/business_components/ui"; import GisApp from "@common/business_components/ui/map/lib/gis.core"; -import GeoJSON from "ol/format/GeoJSON"; -import Feature from "ol/Feature"; -import Geometry from "ol/geom/Geometry"; +import GeoJSON from "ol/format/GeoJSON.js"; +import Feature from "ol/Feature.js"; +import Geometry from "ol/geom/Geometry.js"; import { medianCoordinate2D } from "./median"; interface CtpvSggPrcsFcltSelectBoxProps {