hongfaqiu / cesium-extends

CesiumJS 的扩展库,提供事件订阅、大数据geojson加载、geojson样式、tooltip、popup、缩放控制、绘图工具、测量工具、双屏联动、指南针、热力图等功能
https://extends.opendde.com/
MIT License
185 stars 45 forks source link

请问测距时,打的Tip,在二维显示不出来。感觉是Tip高度不能设置,我的图层是高德地图 #15

Closed CendyceChen closed 4 months ago

CendyceChen commented 4 months ago

找到解决办法了,要设置2D才会显示tip labelStyle:{ heightReference: Cesium.HeightReference.NONE },

hongfaqiu commented 4 months ago

默认是HeightReference.CLAMP_TO_GROUND,readme都是GPT生成的,可能写得不太明白哈,ts声明中能找到没写全的部分