跳到主要内容

CesiumEarth v1.10 更新

· 阅读需 2 分钟

发布时间:2025年03月14日

矢量图层参数升级:

部分矢量参数可以从字段中动态获取
下面是一些表达城市建筑模型的简单例子,数据源来自矢量面(而非三维模型),在面图层中绘制了几个建筑底面,以白模的形式进行渲染,高度、颜色等参数从字段中动态读取
Locale Dropdown
动态参数的设置方法比较简单,在对应的参数输入框中,按默认值:字段名的格式输入即可,若不需要从字段中动态获取,只需设置默认值即可,无需输入冒号及字段名

支持动态读取的参数列表如下:

线
pointShowpolylineShowpolygonShow
pointColorpolylineColorpolygonColor
pointWidthpolylineWidthpolygonOutlineColor
pointOutlineColorpolylineHeightpolygonHeight
pointOutlineWidthpolylineExtrudedHeightpolygonExtrudedHeight
pointOffsetHeightpolylineGapPower
polylineOutlineColor
polylineOutlineWidth
polylineVolumeSmooth
文字图标
labelShowbubbleShow
labelShowBackgroundbubbleScale
labelBackgroundColorbubbleHorizontalOrigin
labelHorizontalOriginbubbleVerticalOrigin
labelVerticalOrigin
labelFillColor
labelOutlineColor
labelOutlineWidth