WeatherRadar Layer

The L.ALKMaps.Layer.WeatherRadar layer is used to overlay live weather radar or satellite weather imagery on your map. There are two parameters that you can specify in the options object of your layer definition. The display parameter allows you to choose between the radar and satellite weather options. The opacity parameter allows you to specify the transparency of the weather imagery in the range of 0 to 1, 0 being completely transparent, 1 being opaque, and 0.5 being at 50% transparency. The opacity can be changed at any time using the layer's setOpacity function.

Radar

Setting the display parameter to "radar" will allow you to display radar weather data on your map.

Satellite

Setting the display parameter to "satellite" will allow you to display satellite weather data on your map.