updateLayerStyle
Update vector, imagery, primitive, or 3D Tiles layer styling with style-specific options like color, opacity, and labels. Apply thematic or visual styles directly to a specified layer.
Instructions
Update vector, imagery, primitive, or 3D Tiles styling for a layer. Returns { success: boolean, data?: unknown, message?: string, error?: string }.
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 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| error | No | ||
| message | No | ||
| success | Yes |