flx:应急报警添加姓名
This commit is contained in:
parent
9ab04c4f78
commit
db706b3cc3
@ -664,6 +664,11 @@ export default {
|
||||
// offset: new AMap.Pixel((-15 * (index + 1)), -30),
|
||||
})
|
||||
console.log(item);
|
||||
normalMarker.setLabel({
|
||||
// offset: new AMap.Pixel(20, -10), //设置文本标注偏移量
|
||||
content: item.alarmPersonName, //设置文本标注内容
|
||||
direction: 'top' //设置文本标注方位
|
||||
});
|
||||
normalMarker.content =
|
||||
'<p><b>报警姓名:</b>' + item.alarmPersonName + '</p>' +
|
||||
'<p><b>类型:</b>' + item.emergencyTypeName + '</p>' +
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user