|
|
@ -399,16 +399,18 @@ export default function LaancAreaMap({ |
|
|
|
className='coords-box' |
|
|
|
className='coords-box' |
|
|
|
key={i} |
|
|
|
key={i} |
|
|
|
onClick={() => { |
|
|
|
onClick={() => { |
|
|
|
if (!isDrag) { |
|
|
|
if (mapControl.drawType === 'DONE') { |
|
|
|
const allObj = drawObj |
|
|
|
if (!isDrag) { |
|
|
|
.getAll() |
|
|
|
const allObj = drawObj |
|
|
|
.features.filter( |
|
|
|
.getAll() |
|
|
|
o => o.properties.id !== 'BUFFER' && o.properties.id |
|
|
|
.features.filter( |
|
|
|
); |
|
|
|
o => o.properties.id !== 'BUFFER' && o.properties.id |
|
|
|
|
|
|
|
); |
|
|
|
drawObj.changeMode('direct_select', { |
|
|
|
|
|
|
|
featureId: allObj[i].id |
|
|
|
drawObj.changeMode('direct_select', { |
|
|
|
}); |
|
|
|
featureId: allObj[i].id |
|
|
|
|
|
|
|
}); |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
}} |
|
|
|
}} |
|
|
|
> |
|
|
|
> |
|
|
|