Hi is this plugin maintained? It is amazing but it seems like it’s been abandoned?
1) I can’t change the location (via lat/lon in the shortcode).
2) Forecast only shows the next 24 hours – would need at least 5-7 days.
Can you please advise if this plugin will be updated?
Thank you
]]>Developer seems absent from this forum, but this is for them or anyone using this plugin – the fix for errors is super easy, and is just correcting a syntax error/typo.
If you want to avoid that and use the stormia shortcode, you’ll need to update a few lines of code in the stormia.php file. The dev incorrectly used the variable $attrs instead of the correct $atts six times, starting around line 30. Here is the incorrect code:
if(array_key_exists('lat', $attrs) && array_key_exists('lon', $attrs)) {
$latlong = '&lat='.$attrs['lat'].'&lon='.$attrs['lon'];
} else {
$latlong = '';
}
$html .= '<iframe src="https://stormia.io/embed?l='.$attrs["layer"].'&z='.$attrs["zoom"].$latlong.'" style="width:100%;border:0;margin-bottom:0;" height="'.$atts["height"].'" frameborder="'.$atts["frameborder"].'"></iframe><div style="width:100%;text-align:right;">';
If you replace those $attrs with $atts everything will work fine.
As an aside, this plugin is essentially just a shortcode for an iframe embed; you can easily do this without a plugin with just a little effort.
Hope that helps someone!
]]>hello
does anyone know how to show temperatures in fahrenheit
]]>After adding the new lat long values the map centre does not ever change.
https://www.ads-software.com/plugins/stormia-live-weather-radar-map/
]]>Tried multiple lat/lon and always returns the same city (wrong city). So uninstall until fixed
https://www.ads-software.com/plugins/stormia-live-weather-radar-map/
]]>I have entered the longitude and latitude for the city I want to appear, which is Oklahoma City, Oklahoma. However, what appears is Wichita, KS.
The short code I’ve used is: [stormia width=”200″ lat=”35.481918″ lon=”-97.508469″].
I’ve tried using just the general lon and lat for the state of Oklahoma and still what appears when someone comes to the site is Wichita, KS. I had to provide some instruction above the map so they know they need to move the map down to Oklahoma to see our local area.
Thoughts?
Thanks!
TLC
https://www.ads-software.com/plugins/stormia-live-weather-radar-map/
]]>Great plugin! We have this installed on 3 sites, and the plugin works on all 3. However, 2 sites that are hosted on godaddy display this error message above the map on the page:
Warning: array_key_exists() expects parameter 2 to be array, null given in /home/weathergo/public_html/wp-content/plugins/stormia-live-weather-radar-map/stormia.php on line 30
Another dev site we have hosted on hawkhost, does not display the error message.
We are using this short code in each instance:
[stormia width=”800″ height=”500″]
Thanks for this very awesome plugin and for your help!
https://www.ads-software.com/plugins/stormia-live-weather-radar-map/
]]>Hi dear, the plugin not working
show error
Warning: array_key_exists() expects parameter 2 to be array, null given in /home/mywebsite-mirutafacil.com/public_html/wp-content/plugins/stormia-live-weather-radar-map/stormia.php on line 30
https://www.ads-software.com/plugins/stormia-live-weather-radar-map/
]]>