fix: 修改bug
This commit is contained in:
parent
fb622c8aa2
commit
5b782381e2
@ -1086,7 +1086,7 @@ function addMarker() {
|
|||||||
var marker = new AMap.Marker({
|
var marker = new AMap.Marker({
|
||||||
icon: startIcon,
|
icon: startIcon,
|
||||||
position: [locationList.value[0].longitude, locationList.value[0].latitude],
|
position: [locationList.value[0].longitude, locationList.value[0].latitude],
|
||||||
size: new AMap.Size(25, 34)
|
size: new AMap.Size(25, 34),
|
||||||
offset: new AMap.Pixel(-12, -29)
|
offset: new AMap.Pixel(-12, -29)
|
||||||
});
|
});
|
||||||
marker.setMap(map);
|
marker.setMap(map);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user