人员管控

This commit is contained in:
cwchen 2024-04-20 14:43:24 +08:00
parent 3e2891495f
commit 9111ab2197
1 changed files with 2 additions and 2 deletions

View File

@ -234,7 +234,7 @@ function openTalk(){
// 解析经纬度和绑定人
var latitude = parseFloat(item.维度); // 维度
var longitude = parseFloat(item.经度); // 经度
var bindUser = item.绑定人; // 绑定人
var bindUser = item.userName; // 绑定人
//创建标记点
var point = new BMapGL.Point(longitude, latitude);
@ -247,7 +247,7 @@ function openTalk(){
height: 100,
title: '人员信息'
};
var content = createInfoWindowContent(item.userName, bindUser, item.phone); // 使用解析后的数据创建信息窗口内容
var content = createInfoWindowContent(item.userName, '', item.phone); // 使用解析后的数据创建信息窗口内容
var infoWindow = new BMapGL.InfoWindow(content, opts);
// 点标记添加点击事件