ALKMaps.Control.WeatherAlertLegend

NWS alert color codes.

Inherits from

Summary
ALKMaps.Control.WeatherAlertLegendNWS alert color codes.
Properties
headerLegend title header
bodyLegend body
bodyEvents
layerIdThe layer that this control works with
visibleDetermines this control is allowed to be visible or not.
Functions
destroyDestroy control.
drawDraw the control.
redrawWithoutGetNewOnesRedraw this layer without getting new ones.
redrawRedraw this control after getting the weather alerts.
drawItemsDraw legend items.
showCheckedFeaturesAdd or remove features when a checkbox is clicked.
eventsHandlerStop events propagation from the control.
changeVisibilityChanges control’s visibility.

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: function()

Destroy control.

draw

draw: function()

Draw the control.

redrawWithoutGetNewOnes

redrawWithoutGetNewOnes: function()

Redraw this layer without getting new ones.

redraw

redraw: function()

Redraw this control after getting the weather alerts.

drawItems

drawItems: function(alertColors)

Draw legend items.

showCheckedFeatures

showCheckedFeatures: function()

Add or remove features when a checkbox is clicked.

eventsHandler

eventsHandler: function(evt)

Stop events propagation from the control.

changeVisibility

changeVisibility: function(show)

Changes control’s visibility.  If control’s visible property is set to false, this control will always be hidden.

destroy: function()
Destroy control.
draw: function()
Draw the control.
redrawWithoutGetNewOnes: function()
Redraw this layer without getting new ones.
redraw: function()
Redraw this control after getting the weather alerts.
drawItems: function(alertColors)
Draw legend items.
showCheckedFeatures: function()
Add or remove features when a checkbox is clicked.
eventsHandler: function(evt)
Stop events propagation from the control.
changeVisibility: function(show)
Changes control’s visibility.
Controls affect the display or behavior of the map.
Close