Place Value Text
class PlaceValueText(val service: WeatherService, val spec: DataQuery.Spec) : BaseVectorConfiguration<VectorSourceDescriptor, DataQueryLayerDescriptor>
Shared place-point value+name text layer. Only Spec.code / Spec.sampled / Spec.layerId differ.
Properties
Functions
Link copied to clipboard
Applies stroke thickness to a single vector line weather configuration (parity with JS addWeatherLayer(..., { paint: { stroke: { thickness } } })).
Link copied to clipboard
Recurses into composite configs and sets line stroke thickness on every child that is a line layer.
Link copied to clipboard
Rebuilds PointLegend swatches from the layer's fill color (constant or match/case expression). Called when fill paint changes and when a legend is registered on the map.