This commit is contained in:
parent
64574d5357
commit
5653356142
|
@ -1830,7 +1830,13 @@ const markera = (e) => {
|
|||
map.removeOverlay(currentMarker);
|
||||
}
|
||||
// 创建新标记
|
||||
let icons = new BMapGL.Icon(AED, new BMapGL.Size(24, 62));
|
||||
let sizeIcons = 62;
|
||||
if (totalType.value == 1) {
|
||||
sizeIcons = 48;
|
||||
} else {
|
||||
sizeIcons = 62;
|
||||
}
|
||||
let icons = new BMapGL.Icon(AED, new BMapGL.Size(24, sizeIcons));
|
||||
var marker = new BMapGL.Marker(new BMapGL.Point(e.latlng.lng, e.latlng.lat), {
|
||||
icon: icons,
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue