Skip to content

TusharSaini999/Weather

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🗺️ Weather Map Website 🌦️

Description 🌍

The Weather Map Website is an interactive web application that allows users to view real-time weather data, including temperature 🌡️ and pressure 🌬️, by clicking on a map. The application integrates map-based interactivity with weather APIs for a seamless user experience.


Features ✨

  • Interactive Map 🗺️: Users can click anywhere on the map to get weather data for that location.
  • Real-Time Weather Details 📊: Displays temperature 🌡️, atmospheric pressure 🌬️, humidity 💧, and other weather metrics.
  • Current Location Support 📍: Automatically fetches weather data for your current location when the website loads.
  • Search by City 🔎: Option to manually search for weather information of specific cities.
  • Responsive Design 📱: Fully optimized for desktops, tablets, and mobile devices.
  • Dynamic Weather Layers (Optional) 🌈: Add weather overlays like temperature 🌡️, pressure 🌬️, and wind speed 🌪️ directly on the map.

Hosting


Usage 🚀

Viewing Weather on the Map 🗺️:

  1. The map loads with a default view of the world. 🌍
  2. Click on any location to fetch weather data for that specific point. 🖱️
  3. View the temperature 🌡️, pressure 🌬️, humidity 💧, and other details in a popup.

Using Current Location 📍:

  1. Grant location permission when prompted by your browser. ✅
  2. The map automatically centers on your location and shows local weather data. 📡

Searching for a City 🔍:

  1. Use the search bar to find a specific city. 🏙️
  2. The map pans to the selected city, displaying its weather information. 📌

Acknowledgements 💡

  • OpenWeatherMap API for weather data. 🌦️
  • Leaflet.js for interactive map functionality. 🗺️
  • Mapbox or similar mapping APIs for map integration. 🗺️
  • Browser Geolocation API for location detection. 📍

About

A simple weather web app that provides real-time weather updates using HTML, CSS, and JavaScript.

Topics

Resources

Stars

Watchers

Forks