接口联调
This commit is contained in:
parent
a9bd1b60ca
commit
5cb95b07ed
|
|
@ -33,13 +33,13 @@ const initMap = () => {
|
|||
setTimeout(() => {
|
||||
// initCustomDot()
|
||||
const startIcon = {
|
||||
imgUrl: '/src/assets/img/mapStart.png',
|
||||
imgUrl: new URL('/src/assets/img/mapStart.png', import.meta.url).href,
|
||||
position: [linePointList[0].lng, linePointList[0].lat],
|
||||
size: [60, 60]
|
||||
|
||||
}
|
||||
const endIcon = {
|
||||
imgUrl: '/src/assets/img/mapEnd.png',
|
||||
imgUrl: new URL('/src/assets/img/mapEnd.png', import.meta.url).href,
|
||||
position: [linePointList[linePointList.length - 1].lng, linePointList[linePointList.length - 1].lat],
|
||||
size: [60, 60]
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue