| | |
| | | */ |
| | | |
| | | import { map } from './index_old'; |
| | | import sector from './sector'; |
| | | import { DialogUtil } from './dialog'; |
| | | import { useToolboxStore } from '@/stores/toolbox'; |
| | | |
| | | const toolboxStore = useToolboxStore(); |
| | |
| | | if (!toolboxStore.dataMarkerStatus) { |
| | | return; |
| | | } |
| | | if (_massMarks) { |
| | | map.remove(_massMarks); |
| | | _massMarks = undefined; |
| | | } |
| | | this.clearMassMarks(); |
| | | const lnglats = fDatas.lnglats_GD; |
| | | var data = []; |
| | | for (let i = 0; i < lnglats.length; i++) { |
| | |
| | | _massMarks = massMarks; |
| | | map.add(massMarks); |
| | | }, |
| | | clearMassMarks() { |
| | | if (_massMarks) { |
| | | map.remove(_massMarks); |
| | | _massMarks = undefined; |
| | | } |
| | | }, |
| | | |
| | | createLabelMarks(img, dataList) { |
| | | // eslint-disable-next-line no-undef |