Weather API issue -- what does this error mean?

Weather API issue -- what does this error mean?
0.0 0

#1

Can someone please explain what this error means? It showed up in my developer tools while I was working on codepen.

_getCurrentPosition() and watchPosition() no longer work on insecure origins. To use this feature, you should consider switching your application to a secure origin, such as HTTPS. See https://goo.gl/rStTGz for more details.

If you need to see the codepen I’ve created, the app is available via http://codepen.io/mbabaian/full/MpjbZv/

Thanks for your help!


#2

Update: apparently this is a Chrome issue. I’m now using Firefox to get around it, but I’d like to see if anyone else has found a workaround with Chrome.


#3

I was also running into this error and posted it this morning. Someone suggested using this API instead.

https://www.apixu.com/

Seriously… use it! It’s way better than the open weather api and it allows you to connect over a secure line so you can use getCurrentPosition with no more errors, and on top of that this API has a lot more info you can load into your app easily!!


#4

Thanks for the tip!

I must’ve missed your post this morning; it’s nice to know someone else was struggling with the same issue. I’m going to give your api a shot. Good luck!