diff --git a/src/components/map/mapbox/MapBoxMap.js b/src/components/map/mapbox/MapBoxMap.js index 5b14ae22..13fb503f 100644 --- a/src/components/map/mapbox/MapBoxMap.js +++ b/src/components/map/mapbox/MapBoxMap.js @@ -671,6 +671,11 @@ export default function MapBoxMap({ handlerDrawObjInit }) { }); map.on('click', 'maine', e => { + if ( + drawObj.getMode() === 'draw_line_string' || + drawObj.getMode() === 'draw_polygon' + ) + return; let isMaine = false; let isOperation = false;