updateLayerStyle
Update Cesium layer visual styles: color, opacity, labels, 3D Tiles, imagery, and GeoJSON thematic styling.
Instructions
Update layer style (color, opacity, label style, 3D Tiles style, etc.)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| layerId | Yes | Layer ID | |
| sessionId | No | Target browser session ID for multi-browser routing (optional) | |
| tileStyle | No | 3D Tiles style (Cesium3DTileStyle expressions: color, show, pointSize, meta) | |
| labelStyle | No | Label style (font, fillColor, outlineColor, outlineWidth, scale, etc.) | |
| layerStyle | No | Entity layer style (color, opacity, strokeWidth, pointSize; GeoJSON thematic styles choropleth/category/randomColor/gradient are mutually exclusive) | |
| imageryStyle | No | Imagery visual style (alpha, brightness, contrast, hue, saturation, gamma); use setLayerVisibility for show/hide | |
| primitiveStyle | No | GeoJSON Primitive material style (color, opacity, outlineColor, outlineWidth, pointSize, lineWidth); use setLayerVisibility for show/hide |