addLabel
Adds text labels to GeoJSON features using a specified property field for label text. Supports customizable label style including font, color, and scale.
Instructions
Add property-based text labels for GeoJSON features. Returns { success, data: { labelCount: integer }, message? }.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | GeoJSON FeatureCollection object | |
| field | Yes | Attribute field name for label text (e.g. "name", "population") | |
| style | No | Label style (font, fillColor, outlineColor, scale, etc.) | |
| sessionId | No | Target browser session ID for multi-browser routing (optional) |