addGeoJsonPrimitive
Loads massive GeoJSON datasets directly as primitives, bypassing the entity system for high-performance rendering on a 3D globe.
Instructions
High-performance GeoJSON loading for massive datasets (100k+ features). Bypasses Entity system, renders directly via Primitives. data and url are mutually exclusive
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) |