电子看板问题修改

This commit is contained in:
cwchen 2025-05-20 18:11:52 +08:00
parent e84d03fba1
commit 55f018dc32
2 changed files with 3 additions and 3 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 828 B

After

Width:  |  Height:  |  Size: 6.1 KiB

View File

@ -222,16 +222,16 @@ function initTowerLine(points) {
var point = new BMapGL.Point(item.lon, item.lat);
linePoints.push(point); // 添加到连线数组
// 创建点标记
var icon = new BMapGL.Icon("../../../../img/synthesisQuery/tower.png", new BMapGL.Size(32, 32), {
var icon = new BMapGL.Icon("../../../../img/synthesisQuery/tower.png", new BMapGL.Size(30, 66), {
// 图标定位点
anchor: new BMapGL.Size(16, 30),
anchor: new BMapGL.Size(15, 66),
});
var marker = new BMapGL.Marker(point, {icon: icon});
map.addOverlay(marker);
// 创建标签
var label = new BMapGL.Label(item.towerName, {
position: point,
offset: new BMapGL.Size(20, -40)
offset: new BMapGL.Size(20, -60)
});
label.setStyle({
color: "#333",