4.2
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user