This commit is contained in:
duanliang
2025-04-02 21:24:16 +08:00
parent 3029752b97
commit 15f15a9ee0
2 changed files with 5 additions and 2 deletions

View File

@@ -139,7 +139,7 @@
})
var opts = {
position: new BMapGL.Point(item.longitude, item.latitude), // 指定文本标注所在的地理位置
offset: new BMapGL.Size(-100, 30) // 设置文本偏移量
offset: new BMapGL.Size(-50, 30) // 设置文本偏移量
};
// 创建文本标注对象
var label = new BMapGL.Label(item.cameraName, opts);