Travel Planner
https://saishadow.github.io/
Github: https://github.com/SaiShadow/SaiShadow.github.io
The Travel Planner is a responsive web application that helps users organize and visualize their travel plans. It allows users to add destinations, view current weather information, and visualize travel locations dynamically using a canvas or a map powered by OpenStreetMap. Designed for usability and performance, this project incorporates modern web development techniques to provide a seamless experience across devices.
- Displays real-time weather data for the user's current location or chosen travel destinations.
- Includes intuitive weather icons and brief descriptions.
- Users can add destinations via an input field and view them in a well-organized list.
- Each location card displays:
- Distance from the user's location.
- Estimated travel times (by car, cycle, or walking).
- An option to delete a location.
- Visualizes travel locations dynamically using:
- Canvas: Offers a lightweight and customizable visualization of saved locations and their connections.
- OpenStreetMap: Provides a detailed map view with markers for saved locations and dynamic lines connecting them.
- Features color-coded indicators representing distances:
- Local (< 50 km).
- Regional (50–200 km).
- Long Haul (200–1000 km).
- Global (> 1000 km).
- Optimized for mobile, tablet, and desktop devices.
- Ensures a consistent layout with adjustable elements based on screen size.
- Dark Mode: Toggle light and dark themes for personalized viewing.
- Reset View: Reset the canvas or map to its original state.
- Loading Spinner: Provides visual feedback when fetching weather data.
- Location Awareness / Geolocation API:
- Fetches the user's current location to provide accurate weather information.
- Local Storage and Session Storage:
- Saves user data (e.g., locations) for persistent access.
- Local Storage: Stores the user's saved locations.
- Session Storage: Stores the user's coordinates and weather details for the current session.
- Saves user data (e.g., locations) for persistent access.
- Responsive Design:
- Uses
remand media queries to ensure compatibility across devices.
- Uses
- Canvas:
- Dynamically visualizes travel locations and their connections.
- Frontend: HTML5, CSS3, JavaScript
- Libraries/Frameworks:
- Bootstrap: For responsive components and icons.
- Bootstrap Icons: For additional UI elements (e.g., weather icons).
- jQuery
- Leaflet.js: For interactive map rendering using OpenStreetMap.
- APIs: Fetches weather and location data dynamically.
- Tested on:
- Google Chrome
- Safari on iPhone
- Open the website, https://saishadow.github.io/ .
- Use the Add Location input field to enter a travel destination.
- View the destination details, including:
- Weather conditions.
- Travel distances and times.
- Toggle between:
- Canvas Visualization: Lightweight and customizable visualization.
- Map Visualization: Detailed map powered by OpenStreetMap.
- Toggle Dark Mode or reset the view for a fresh perspective.
- Integrate more travel data (e.g., traffic, public transport routes).
Add more visualization options (e.g., maps or charts).Already implemented.- Add pinning or sorting locations based on distance.
Feel free to explore and plan your trips! Feedback and contributions are welcome. 😊