NWS alert color codes.
ALKMaps. | NWS alert color codes. |
Properties | |
header | Legend title header |
body | Legend body |
bodyEvents | |
layerId | The layer that this control works with |
visible | Determines this control is allowed to be visible or not. |
Functions | |
destroy | Destroy control. |
draw | Draw the control. |
redrawWithoutGetNewOnes | Redraw this layer without getting new ones. |
redraw | Redraw this control after getting the weather alerts. |
drawItems | Draw legend items. |
showCheckedFeatures | Add or remove features when a checkbox is clicked. |
eventsHandler | Stop events propagation from the control. |
changeVisibility | Changes control’s visibility. |
Destroy control.
destroy: function()
Draw the control.
draw: function()
Redraw this layer without getting new ones.
redrawWithoutGetNewOnes: function()
Redraw this control after getting the weather alerts.
redraw: function()
Draw legend items.
drawItems: function( alertColors )
Add or remove features when a checkbox is clicked.
showCheckedFeatures: function()
Stop events propagation from the control.
eventsHandler: function( evt )
Changes control’s visibility.
changeVisibility: function( show )