addGeoJsonPrimitive
Render GeoJSON as Cesium primitives to handle large browser datasets with high performance.
Instructions
Render GeoJSON as Cesium primitives for large browser datasets. Returns { success: boolean, data?: unknown, message?: string, error?: string }.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Layer ID (auto-generated if omitted) | |
| url | No | GeoJSON file URL (mutually exclusive with data) | |
| data | No | GeoJSON object (mutually exclusive with url) | |
| name | No | Layer display name | |
| show | No | Whether to show (default true) | |
| sessionId | No | Target browser session ID for multi-browser routing (optional) | |
| allowPicking | No | Allow picking (default true, disable for better performance) |