WeatherBlox - Nearby Observations
Nearby ObservationsObject
aeris.wxblox.views.NearbyObservationsData Usage
The NearbyObservations view displays the current temperature for multiple locations near the queried location.

Examples
Display nearby observations for the 3 closest locations near San Francisco, CA:
const view = new aeris.wxblox.views.NearbyObservations('#wxblox');
view.load({
p: 'san francisco,ca'
});Configuration
The following configuration options are supported by this view:
| Option | Description | Default |
|---|---|---|
links | Type: boolean () | |
enabled | Type: boolean () | |
metric | Type: boolean () | |
renderNoData | Type: boolean () | |
request | Type: object () | |
Methods
The following methods are supported by instances of this view:
rendered()show()hide()params()setUnits(:number)units()enabled()setMetric(:boolean)load(:object)refresh()isMetric()Events
The following events are triggered by instances of this view:
renderrender:beforerender:afterload:startload:doneload:errorchange:units