dvgis / dc-sdk

DC-SDK is based on the open source project Cesium for the second development of two three-dimensional WebGis application framework , the framework optimizes the use of Cesium and adds some additional features , designed for developers to quickly build WebGis application.🌎

Home Page:http://dc.dvgis.cn

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

缩放地图导致popup到处飘

Japheth1989 opened this issue · comments

viewer.popup.setContent('

')
viewer.popup.setPosition(DC.Transform.transformWGS84ToCartesian(e.overlay.position))
document.getElementById('Popup').appendChild(mountPopup().$el)
为什么这种方式弹出popup在加载地形图后,缩放地图会导致popup到处飘?

是因为viewer-container 没有设置position样式吗