This commit is contained in:
Taric Xin
2022-03-07 17:30:21 +08:00
parent ef1f8e98e7
commit 7cfa2cc415
4 changed files with 7 additions and 8 deletions

View File

@ -45,13 +45,11 @@ export class AmapPathSimplifierComponent implements OnInit, OnChanges {
];
this.setData(this.pathList);
this.setPathIndex(this.selectedIndex);
console.log(this.MapList);
}
}
ngOnInit(): void {
this.mapInit();
console.log(this.MapList);
// this.DataInit();
}
ngOnDestroy(): void {
if (this.aMap) {

View File

@ -3,6 +3,7 @@ import { ChangeDetectorRef, Component, Input, OnInit, ViewChild } from '@angular
import { amapConf } from '@conf/amap.config';
import { NzModalRef } from 'ng-zorro-antd/modal';
import { throwError } from 'rxjs';
import { Script } from 'vm';
import { AmapService } from '../amap.service';
declare var AMap: any;
declare var AMapUI: any;