heikkipora / sataako-fi

Sataako.fi weather service
https://sataako.fi
MIT License
23 stars 8 forks source link

Use different API call for fetching lightnings #18

Closed lakka closed 5 years ago

lakka commented 5 years ago

Fetch lightnings using the FMI mutltipointcoverage XML, instead of the bloated simple XML. This should solve the parsing performance problems, as the multipointcoverage XML is 30x smaller than the simpleXML.

This PR also fixes toggling the visibility of the lightnings. Previously, the lightnings were not hidden when the "Näytä salamat" box was unticked.

heikkipora commented 5 years ago

Ok, lets see how this baby behaves with Heroku :)