Skip to Content
Local Layout

WeatherBlox - Local Layout

Object
aeris.wxblox.layouts.local.Main
Data Usage
/places (2)
/observations (5)
/alerts (1)
/threats (1)
/phrases/summary (1)
/forecasts (3)
/observations/summary (2)
/sunmoon (1)
/normals (1)
Raster Maps usage based on size of map and total layers.

The Main local view is a full-page layout containing multiple individual weather blox containing a variety of current and forecast weather information for a single location.

Local Layout

Examples

Display a full local weather layout view for Seattle, WA:

const view = new aeris.wxblox.layouts.local.Main('#wxblox'); view.load({ p: 'seattle,wa' });

Configuration

The following configuration options are supported by this view:

OptionDescriptionDefault
obsType: object ()
outlookType: object ()
obsNearbyType: object ()
almanacType: object ()
shorttermType: object ()
forecastType: object ()
mapsType: object ()
enabledType: boolean ()true
metricType: boolean ()false

Methods

The following methods are supported by instances of this view:

Events

The following events are triggered by instances of this view:

© 2026 Xweather (opens in a new tab)Terms of Service (opens in a new tab)Privacy Policy (opens in a new tab)