学无先后,达者为师

网站首页 编程语言 正文

Uncaught TypeError: Failed to execute ‘appendChild‘ on ‘Node‘: parameter 1 is not of type ‘Node 解决办法

作者:� 杰尼龟 更新时间: 2022-02-14 编程语言

使用leaflet.js画图

需要给画的区域增加click事件显示画出区域后选择的详情信息

let tr = document.createElement('tr')
        tr.innerHTML = 'a = '+arr.a+'<br>'
        for(var item ofparams){
tr.innerHTML+='<br>'+item.label+':'+arr[item.name]
}
polygon.bindPopup(tr)


原文链接:https://blog.csdn.net/weixin_45124380/article/details/118346330

栏目分类
最近更新