Warning: count(): Parameter must be an array or an object that implements Countable in /data/web/virtuals/104571/virtual/www/blog/wp-includes/post-template.php on line 284
New Block – NWS Forecast – Custom

New Block – NWS Forecast – Custom

Hi guys,

I created another block using the NWS forecast.

This block shows a map where the user can choose a point in the area of the United States and it will show them the NWS forecast for that place. If you only want to show forecast for your location use the nwsForecast block instead, this one does not use caching and therefore will be slower.

DEMO

Note:
The block uses your station coordinates by default, so in the demo you see N/A because my station is outside the U.S. Simply drag the marker to wherever you want to change the forecast.

Enjoy

Leave a Comment