globalmatt / cutecast

A fun weather forecast app built using React. It's a progressive web app (PWA) that uses kids' drawings to show the current weather!
2 stars 0 forks source link

Add location detection #33

Open globalmatt opened 1 year ago

globalmatt commented 1 year ago

Currently the location is hardcoded. Use the Geolocation API to get the device location, then use that location for the current weather and forecasts.

globalmatt commented 1 year ago

The OpenWeather API built-in geocoding (i.e. getting the weather by city name) is deprecated, so instead we should: