Temperatures Text
class TemperaturesText(service: WeatherService) : BaseVectorConfiguration<VectorSourceDescriptor, DataQueryLayerDescriptor>
Deprecated
Use DataQuery.configuration(service, LayerCode.TEMPERATURES_TEXT)
Replace with
DataQuery.configuration(service, LayerCode.TEMPERATURES_TEXT)Content copied to clipboard
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.