highlight
Highlight specific features or all features in a GeoJSON layer using a custom color, with the option to clear existing highlights and 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) |