ALKMaps.Control.WeatherAlertLegend

NWS alert color codes.

Inherits from

Summary
ALKMaps.Control.WeatherAlertLegend 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.

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