highlight
Highlight features in a GeoJSON layer with a custom color, or clear existing highlights to restore original styles.
Instructions
Highlight one feature or every feature in a GeoJSON layer. Returns { success: boolean, message?: string, error?: string }.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| clear | No | Clear existing highlights and restore original styles | |
| color | No | Highlight color (CSS format) | #FFFF00 |
| layerId | No | Layer ID | |
| sessionId | No | Target browser session ID for multi-browser routing (optional) | |
| featureIndex | No | Feature index (highlights all if omitted) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | ||
| message | No | ||
| success | Yes |