How to use the latitude and longitude together with the weather API?


I’ve tried to use the Geo-location code but not sure how to use them with the Weather API.

1 Like

I don’t know what to tell you, but I stumbled upon this the other day when I was having trouble playing around with the feature myself:
Geolocation API Removed from Unsecured Origins in Chrome 50

It may or may not be related to your problem.

1 Like

This is indeed the issue. Just slap in https:// in front of your codepen link. You can see what is going on by opening up dev tools (ctrl + shift + j). Apparently you are importing bootstrap and jquery in the wrong order and need to import tether as well in order to have bootstrap’s javascript run properly.

1 Like

I got it working! thanks