Custom AirNow Maps - Changing the Forecast Layers

Changing Forecast layers uses a similar methodology to some of the ones explained above.

In this case you use the flayer variable in the URL.

  • Today’s Forecast—flayer= forecasttoday
  • Tomorrow’s Forecast—flayer= forecasttomorrow
  • No Forecast—flayer=none

For example, this is how you would enable tomorrow’s forecast monitors on the standard map:

Changing the forecast layers
Fig: AirNow Map Showing Forecast for Tomorrow

Note that an additional variable, tab=1, was included. This is because this variable only applies to the Forecast (tab 1) tab. Tabs are covered in the next section.