修改地图

dev
夜笙歌 1 year ago
parent ac4221c97e
commit 301e06a927

@ -164,7 +164,7 @@ export default {
setMarker(e, i) {
let marker = new AMap.Marker({
position: e, // [116.39, 39.9]
title: `经度:${e[0]}\n纬度:${e[1]}\n时间${i}`,
title: `信息\n经度:${e[0]}\n纬度${e[1]}\n时间${i}`,
offset:new AMap.Pixel(-2.5,-2.5),
content:`<div style="width: 5px;height: 5px; border-radius: 50%;background-color: #1890ff"> </div>`
});

Loading…
Cancel
Save