Browse Source

[完善] 自定义底图预案完善

zhuzhou
陈鹏飞 4 years ago
parent
commit
58f75315d0
  1. 3
      src/app/ui/collection-tools/collection-tools.component.ts
  2. 2
      src/app/working-area/working-area.component.ts

3
src/app/ui/collection-tools/collection-tools.component.ts

@ -2272,6 +2272,9 @@ export class CollectionToolsComponent implements OnInit {
this.canvas.setNameVisible(this.wantToWork,1)
// this.canvas.setLegendVisible(this.isShowLegend) //图例显隐
this.beforeOneCheckedBuildingIsShow = false
this.canvasData.isChange = false //服务中 数据是否改动 改为false
this.isShowProperty = true
this.isShowAttribute = true
let selectPanelPoint = JSON.parse(JSON.stringify(this.canvasData.selectPanelPoint || {} )) //当前 节点 数据
if(selectPanelPoint.Data){

2
src/app/working-area/working-area.component.ts

@ -159,11 +159,13 @@ export class WorkingAreaComponent extends EventEmitter implements OnInit, AfterV
PIXI.utils.skipHello();
this.sayHello();
this.eventManager.addGlobalEventListener('window', 'keydown', (event: any) => {
event.stopPropagation()
if (event.keyCode === 17) {
this.isCtrlKeyClicked = true;
}
});
this.eventManager.addGlobalEventListener('window', 'keyup', (event: any) => {
event.stopPropagation()
if (event.keyCode === 17) {
this.isCtrlKeyClicked = false;
this.rectToolGraphics.visible = false;

Loading…
Cancel
Save