【解决办法】在iClient3D for Cesium 中默认标签与图标开启了标签避让,会导致专题图同一个点位的标签与图标不能同时显示。需要对两个图层关闭标签避让才可同时展示。代码参考如下:
var iconlayer = scene.layers.find('BusPoint@RealspaceSample');//图标图层
var textlayer = scene.layers.find('BusPoint@RealspaceSample#1');//文字图层
iconlayer.isOverlapDisplayed = true;//关闭避让
textlayer.isOverlapDisplayed = true;//关闭避让