|
|
@ -744,7 +744,6 @@ |
|
|
|
|
|
|
|
|
|
|
|
/** 绘制地图导航路线 */ |
|
|
|
/** 绘制地图导航路线 */ |
|
|
|
function drawMapNavigate(points: MapLogisticPoint[] = []) { |
|
|
|
function drawMapNavigate(points: MapLogisticPoint[] = []) { |
|
|
|
debugger; |
|
|
|
|
|
|
|
points = points.filter(item => item.lng && item.lat); |
|
|
|
points = points.filter(item => item.lng && item.lat); |
|
|
|
if (points.length > 0 && mapState.mapData.courierLng && mapState.mapData.courierLat) { |
|
|
|
if (points.length > 0 && mapState.mapData.courierLng && mapState.mapData.courierLat) { |
|
|
|
const lngLats = points.map(item => new AMap.LngLat(item.lng, item.lat)); |
|
|
|
const lngLats = points.map(item => new AMap.LngLat(item.lng, item.lat)); |
|
|
|