问题

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()

效果截图:

 

 

Logo

电影级数字人,免显卡端渲染SDK,十行代码即可调用,工业级demo免费开源下载!

更多推荐