Commit f2a28a4e by niuxiaolin

latest ui 08/13/2019 09:34:48

parent 9c8b5969
......@@ -201,7 +201,7 @@ export class MainComponent implements OnInit {
"visibility": "off"
}
}
this.map.setMapStyleV2({styleJson:hiddenHighIcon});
//this.map.setMapStyleV2({styleJson:hiddenHighIcon});
this.map.enableScrollWheelZoom();
//this.map.enableScrollWheelZoom()
this.map.enableContinuousZoom()
......@@ -455,7 +455,7 @@ export class MainComponent implements OnInit {
this.setBound();
this.map.setMapStyleV2({ styleJson: theme });
// this.map.setMapStyleV2({ styleJson: theme });
this.map.enableScrollWheelZoom(true);
this.map.centerAndZoom("山西省",11);
......
......@@ -9,7 +9,7 @@
<button (click)="back()">返回</button>
<nz-tree [nzShowIcon]="true" [nzTreeTemplate]="nzTreeTemplate" [nzData]="nodes" nzAsyncData
(nzExpandChange)="nzEvent($event)">
(nzClick)="addVCR($event)" (nzExpandChange)="nzEvent($event)">
<ng-template #nzTreeTemplate let-node>
<!-- <span class="custom-node" [class.active]="activedNode?.key === node.key">
<span *ngIf="!node.isLeaf" (contextmenu)="contextMenu($event, menu)">
......@@ -26,10 +26,10 @@
<span *ngIf="node.isLeaf">
<i nz-icon nzType="video-camera" nzTheme="outline"></i>
{{node.title}}
<a href="https://221.131.9.172:1443">
<!-- <a href="https://221.131.9.172:1443">
<i nz-icon nzType="sound" (click)="goTo('https://221.131.9.172:1443')" nzTheme="outline"></i>
</a>
</a> -->
</span>
<span *ngIf="!node.isLeaf">
......
......@@ -424,6 +424,7 @@ hh.CL = function(a) {
return a
};
hh.fO = function(a, b) {
console.log(this.map);
var c = new P(0, 0),
e = this,
f = e.map,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment