问题
1.modelEntity的popup的closeOnClick:false好像没生效?还是不会用?
2.问题:
1.popup设置了closeOnClick:false,但是单击map这个还是会消失
2.closeOnClick:false的意思
相关链接
1.http://mars3d.cn/apidoc.html#Popup
2.http://mars3d.cn/editor-vue.html?id=graphic/entity/model
期望效果
1.同时打开多个popup
回答:
1.// 绑定Popup
graphic.bindPopup(innerHtml, { offsetY: -30,closeOnClick:false,
autoClose:false, }).openPopup()
}
示例链接:
http://mars3d.cn/editor-vue.html?id=graphic/entity/model
graphic.bindPopup(inthtml, { offsetY: -30,closeOnClick:false,
autoClose:false, }).openPopup()
效果截图: