diff --git a/src/views/laanc/LaancAreaMap.js b/src/views/laanc/LaancAreaMap.js index d015cf74..4c3ada71 100644 --- a/src/views/laanc/LaancAreaMap.js +++ b/src/views/laanc/LaancAreaMap.js @@ -59,6 +59,8 @@ export default function LaancAreaMap({ const [detailLayer, setDetailLayer] = useState(); const [coordArr, setCoordArr] = useState([]); + const [viewCoordObj, setViewCoordObj] = useState([]); + const detailGeo = useMemo(() => { return { type: 'FeatureCollection', @@ -317,21 +319,21 @@ export default function LaancAreaMap({