| | |
| | | id="moved2" |
| | | @mousedown="moved"> |
| | | <div class="top"> |
| | | <span style="font-weight: bold">态势标绘</span> |
| | | <span style="font-weight: bold">网格显示</span> |
| | | <span class="close" |
| | | @click="showtuli">X</span> |
| | | </div> |
| | |
| | | value2: false, |
| | | ishowtuli: false, |
| | | scale: 2.13, |
| | | tileCoordinates: true, |
| | | Option: [ |
| | | { |
| | | name: '粗直箭头', |
| | | type: 'StraightArrow', |
| | | value: 'polygon', |
| | | name: '瓦片坐标', |
| | | type: '1', |
| | | |
| | | },{ |
| | | name: '地形三角网', |
| | | type: '2', |
| | | |
| | | }, |
| | | { |
| | | name: '燕尾直箭头', |
| | | type: 'SwallowtailArrow', |
| | | value: 'polygon', |
| | | },{ |
| | | name: '钳击箭头', |
| | | type: 'PincerArrow', |
| | | value: 'polygon', |
| | | },{ |
| | | name: '集结地', |
| | | type: 'GatheringPlace', |
| | | value: 'polygon', |
| | | },{ |
| | | name: '圆角矩形', |
| | | type: 'RoundedRectangle', |
| | | value: 'polygon', |
| | | }, |
| | | { |
| | | name: '扇形', |
| | | type: 'Sector', |
| | | value: 'polygon', |
| | | },{ |
| | | name: '弓形', |
| | | type: 'Bow', |
| | | value: 'polygon', |
| | | },{ |
| | | name: '攻击箭头', |
| | | type: 'AttackArrow', |
| | | value: 'polygon', |
| | | },{ |
| | | name: '清除', |
| | | type: 'Clear', |
| | | } |
| | | ], |
| | | |
| | | }; |
| | |
| | | //清除系统台站,监测站,gb |
| | | }, |
| | | setMenuClick (res) { |
| | | if(res.type=='Clear') { |
| | | sgworld.Creator.ClearMilitaryStandard(); |
| | | return |
| | | if(res.type=='1') { |
| | | window.sgworld.tileCoordinates=!window.sgworld.tileCoordinates; |
| | | } else if(res.type=='2') { |
| | | window.sgworld.wireframe=!window.sgworld.wireframe; |
| | | } |
| | | |
| | | sgworld.Creator.militaryPlotting(res.type,res.value,(entity) => { |
| | | }); |
| | | } |
| | | }, |
| | | mounted () { |