|
@@ -74,7 +74,7 @@ onMounted(() => {
|
|
|
props.point_list.forEach((point, index) => {
|
|
props.point_list.forEach((point, index) => {
|
|
|
const marker = new AMap.Marker({
|
|
const marker = new AMap.Marker({
|
|
|
position: [point.longtitude, point.latitude],
|
|
position: [point.longtitude, point.latitude],
|
|
|
- offset: new AMap.Pixel(-24, -48),
|
|
|
|
|
|
|
+ offset: new AMap.Pixel(-15, -28),
|
|
|
icon: "/mark/daka.png",
|
|
icon: "/mark/daka.png",
|
|
|
title: `打卡点${index + 1}`
|
|
title: `打卡点${index + 1}`
|
|
|
})
|
|
})
|
|
@@ -88,7 +88,7 @@ onMounted(() => {
|
|
|
const markerLocation = [Number(point.jingwei[1]), Number(point.jingwei[0])]
|
|
const markerLocation = [Number(point.jingwei[1]), Number(point.jingwei[0])]
|
|
|
const marker = new AMap.Marker({
|
|
const marker = new AMap.Marker({
|
|
|
position: markerLocation,
|
|
position: markerLocation,
|
|
|
- offset: new AMap.Pixel(-12, -24),
|
|
|
|
|
|
|
+ offset: new AMap.Pixel(-15, -28),
|
|
|
icon: "/mark/log.png",
|
|
icon: "/mark/log.png",
|
|
|
title: point.address
|
|
title: point.address
|
|
|
})
|
|
})
|