接口联调

This commit is contained in:
binbin_pan 2024-03-20 17:59:21 +08:00
parent a9bd1b60ca
commit 5cb95b07ed
1 changed files with 2 additions and 2 deletions

View File

@ -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]