Weather API Issue


I’m not retrieving any data from my weather api. Can anyone see what I’m doing wrong?

My suspicion is that it is around this - var getWeatherData = “” + lat + “&lon=” + lon;


If you are on Chrome press F12 and you’ll see all errors in the console.

It doesn’t work without an API-key. You have to sign up and get one from them.