Browse Source

거리측정 기능 사용시 공역 데이터블록 비활성화

master
김장현 2 months ago
parent
commit
7a576b15d5
  1. 5
      src/components/map/mapbox/MapBoxMap.js

5
src/components/map/mapbox/MapBoxMap.js

@ -671,6 +671,11 @@ export default function MapBoxMap({ handlerDrawObjInit }) {
}); });
map.on('click', 'maine', e => { map.on('click', 'maine', e => {
if (
drawObj.getMode() === 'draw_line_string' ||
drawObj.getMode() === 'draw_polygon'
)
return;
let isMaine = false; let isMaine = false;
let isOperation = false; let isOperation = false;

Loading…
Cancel
Save