fix: 缩小地图定位图标

This commit is contained in:
fengyarnom 2025-06-13 11:11:54 +08:00
parent 427b38c8f1
commit 81032c8d9d

View File

@ -471,7 +471,7 @@
image: new ol.style.Icon({ image: new ol.style.Icon({
anchor: [0.5, 1], anchor: [0.5, 1],
src: iconSrc, src: iconSrc,
scale: 1 scale: 0.7
}), }),
text: new ol.style.Text({ text: new ol.style.Text({
text: device.deviceid, text: device.deviceid,
@ -536,7 +536,7 @@
image: new ol.style.Icon({ image: new ol.style.Icon({
anchor: [0.5, 1], anchor: [0.5, 1],
src: '../images/loc_blue.png', src: '../images/loc_blue.png',
scale: 1 scale: 0.7
}) })
}); });