|
@@ -509,16 +509,16 @@ export default {
|
|
element.runRoute[element.runRoute.length - 1].lat
|
|
element.runRoute[element.runRoute.length - 1].lat
|
|
])
|
|
])
|
|
//结束标记点
|
|
//结束标记点
|
|
- if (element.endPoint.lon != '' && element.endPoint.lat != '') {
|
|
|
|
- that.initMarkes(
|
|
|
|
- 20,
|
|
|
|
- 35,
|
|
|
|
- require('@/assets/img/end.png'),
|
|
|
|
- element.endPoint.lon,
|
|
|
|
- element.endPoint.lat,
|
|
|
|
- '终点'
|
|
|
|
- )
|
|
|
|
- }
|
|
|
|
|
|
+ // if (element.endPoint.lon != '' && element.endPoint.lat != '') {
|
|
|
|
+ // that.initMarkes(
|
|
|
|
+ // 20,
|
|
|
|
+ // 35,
|
|
|
|
+ // require('@/assets/img/end.png'),
|
|
|
|
+ // element.endPoint.lon,
|
|
|
|
+ // element.endPoint.lat,
|
|
|
|
+ // '终点'
|
|
|
|
+ // )
|
|
|
|
+ // }
|
|
})
|
|
})
|
|
},
|
|
},
|
|
//获得结束地址
|
|
//获得结束地址
|
|
@@ -566,7 +566,7 @@ export default {
|
|
that.initPathSimplifier()
|
|
that.initPathSimplifier()
|
|
that.threeMarker()
|
|
that.threeMarker()
|
|
//that.initCustomMarkes(that.capacityNumber+"("+that.listPath[0].miled+")",that.listPath[0].currentPointName,that.listPath[0].currentPoint.lon,that.listPath[0].currentPoint.lat)
|
|
//that.initCustomMarkes(that.capacityNumber+"("+that.listPath[0].miled+")",that.listPath[0].currentPointName,that.listPath[0].currentPoint.lon,that.listPath[0].currentPoint.lat)
|
|
- that.endline()
|
|
|
|
|
|
+ //that.endline()//预估路径
|
|
})
|
|
})
|
|
},
|
|
},
|
|
initCustomMarkes(title, details, lon, lat) {
|
|
initCustomMarkes(title, details, lon, lat) {
|