e
This commit is contained in:
@ -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) {
|
||||
|
||||
@ -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;
|
||||
|
||||
Reference in New Issue
Block a user