AlertsShortFuse

alerts-short-fuse: severe thunderstorm, tornado, flash flood and special marine warnings (VTEC SV.W, TO.W, FF.W, MA.W) outlined thicker than AlertsOutline.

Added by the 2026-10-06 additive regeneration from weather-codegen output, with the expiry filter written as ALERTS_UNEXPIRED like Alerts and AlertsOutline. JS also pulses its opacity on an animation clock (a native-implemented paint behaviour); this layer is static.

Constructors

Link copied to clipboard
constructor(service: WeatherService)

Properties

Link copied to clipboard
open override val code: LayerCode
Link copied to clipboard
open override val layer: LineLayerDescriptor

Layer definition for style/render behavior.

Link copied to clipboard
open override var legend: Legend?

Optional legend model synchronized with paint updates when supported by the concrete configuration implementation.

Link copied to clipboard
open override var presentation: Presentation?

An optional presentation object for this layer. The default implementation is null. Classes that have a presentation should override this property.

Link copied to clipboard
Link copied to clipboard
open override val source: VectorSourceDescriptor

Source definition for tile/data fetching.

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.