This commit is contained in:
wangshiming
2022-03-02 15:59:29 +08:00
parent 4b5e42e7c9
commit 1db6ff1c4e
3 changed files with 7 additions and 6 deletions

View File

@ -4,7 +4,7 @@
* @Author : Shiming
* @Date : 2022-02-22 13:53:29
* @LastEditors : Shiming
* @LastEditTime : 2022-03-02 15:53:03
* @LastEditTime : 2022-03-02 15:58:57
* @FilePath : \\tms-obc-web\\src\\app\\routes\\order-management\\modal\\vehicle\\view-track\\view-track.component.ts
* Copyright (C) 2022 huzhenhong. All rights reserved.
*/
@ -33,8 +33,7 @@ import { OrderManagementService } from '../../../services/order-management.servi
})
export class OneCarOrderViewtrackComponent implements OnInit {
i: any; // 单行数据
MapList: any; // 地图数据
mapList:any[] = []; //地图点位数据组
MapList:any[] = []; //地图点位数据
trajectory = 'car';
addressItems: any[] = []; //打点地址数据组
logColumns: STColumn[] = [
@ -81,7 +80,7 @@ export class OneCarOrderViewtrackComponent implements OnInit {
lnglat: [Number((Number(item.lon) / 600000).toFixed(6)), Number((Number(item.lat) / 600000).toFixed(6))]
});
});
this.mapList = list;
this.MapList = list;
this.addressItems = res.parkArray;
if (this.addressItems && this.addressItems.length > 0) {
this.addressItems.forEach(item => {

View File

@ -49,6 +49,8 @@ export class AmapPathSimplifierComponent implements OnInit, OnChanges {
}
ngOnInit(): void {
this.mapInit();
console.log(this.MapList);
// this.DataInit();
}
ngOnDestroy(): void {