Widgets

Instructions for Use

The following code provides a widget that defaults to the user's geolocation based on their IP address. The data is a forecast for conditions over the next hour.

You can set an alternative default location by adding name=SelectorName&lat=-37&lng=144 to the URL, replacing SelectorName with your location name, lat with the latitude, and lng with the longitude. For example:

https://janesweather.com/widgets/summary?name=YourLocationName&lat=-37&lng=144

Contact Sales at sales@janesweather.com to request custom widget data.

Basic Summary

Large screen, height 173.5px

<iframe src="https://janesweather.com/widgets/summary" width="100%" style={{ border: 'none', width: '100%', height: '173.5px'}}></iframe>

Medium screen, height 186px

<iframe src="https://janesweather.com/widgets/summary" width="100%" style={{ border: 'none', width: '100%', height: '186px'}}></iframe>

Small screen, height 290px

<iframe src="https://janesweather.com/widgets/summary" width="100%" style={{ border: 'none', width: '100%', height: '290px'}}></iframe>

Spraying Summary

Large screen, height 173.5px

<iframe src="https://janesweather.com/widgets/spraying-summary" width="100%" style={{ border: 'none', width: '100%', height: '173.5px'}}></iframe>

Medium screen, height 186px

<iframe src="https://janesweather.com/widgets/spraying-summary" width="100%" style={{ border: 'none', width: '100%', height: '186px'}}></iframe>

Small screen, height 290px

<iframe src="https://janesweather.com/widgets/spraying-summary" width="100%" style={{ border: 'none', width: '100%', height: '290px'}}></iframe>