Set Layer Labeling
set_layer_labelingControl labels on vector layers: enable or disable, set label field, adjust font size and color.
Instructions
Configure labeling for a vector layer. Set enabled=false to disable labels. Set field_name to the attribute field to label with. Optional: font_size (float), color (hex like '#000000').
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| layer_id | Yes | ||
| enabled | No | ||
| field_name | No | ||
| font_size | No | ||
| color | No |