addGeoJsonLayer
Add a GeoJSON layer to a 3D map with support for Point, Line, and Polygon features. Configure color, opacity, point size, choropleth, or category styles using GeoJSON data or a URL.
Instructions
Add GeoJSON layer to map (supports Point/Line/Polygon, configurable color/choropleth/category rendering). data and url are mutually exclusive
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Layer ID (auto-generated if omitted) | |
| name | No | Layer display name | |
| data | No | GeoJSON FeatureCollection object (mutually exclusive with url) | |
| url | No | GeoJSON file URL (mutually exclusive with data, fetched in browser) | |
| style | No | Style config (color, opacity, pointSize, choropleth, category) | |
| sessionId | No | Target browser session ID for multi-browser routing (optional) |