Set Layer Labeling
set_layer_labelingConfigure labeling for vector layers: enable or disable labels, set the label attribute field, adjust font size and color (hex).
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 |
|---|---|---|---|
| color | No | ||
| enabled | No | ||
| layer_id | Yes | ||
| font_size | No | ||
| field_name | No |