8000 GitHub - haseeb5555/route-finder: An interactive app that allows users to find and visualize routes between two locations using the GraphHopper Routing API and OpenStreetMap.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

An interactive app that allows users to find and visualize routes between two locations using the GraphHopper Routing API and OpenStreetMap.

Notifications You must be signed in to change notification settings

haseeb5555/route-finder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Route Finder with GraphHopper API

An interactive web application that allows users to find and visualize routes between two locations using the GraphHopper Routing API and OpenStreetMap.

🚀 Features

  • Easy-to-use Interface: Simple form to input start and destination addresses
  • Interactive Map: Powered by Leaflet.js, showing the calculated route
  • Geocoding: Converts addresses to coordinates using OpenStreetMap's Nominatim service
  • Detailed Route Information: Displays distance and estimated travel time
  • Responsive Design: Works on both desktop and mobile devices

🛠️ Technologies Used

  • HTML5
  • JavaScript (vanilla)
  • Leaflet.js for map visualization
  • OpenStreetMap for base map tiles
  • GraphHopper API for route calculation
  • Nominatim API for geocoding

📋 Prerequisites

  • GraphHopper API key (sign up at GraphHopper)
  • Web browser with JavaScript enabled
  • Internet connection

🔧 Setup

  1. Clone the repository:

    git clone https://github.com/yourusername/route-finder.git
  2. Replace the API key in the JavaScript code with your own GraphHopper API key:

    const apiKey = 'your-api-key-here';
  3. Open index.html in a web browser or deploy to a web server.

🎮 How to Use

  1. Enter a starting address in the "From" field
  2. Enter a destination address in the "To" field
  3. Click "Find Route"
  4. The map will display the route and show distance and time information

📝 License

This project is licensed under the MIT License - see the LICENSE.md file for details

🤝 Contributing

Contributions, issues, and feature requests are welcome! Feel free to check the issues page.

👥 Authors

🙏 Acknowledgments

  • GraphHopper for providing the routing API
  • OpenStreetMap contributors for the map data
  • Leaflet.js team for the mapping library

📊 Project Status

Active development - Bug reports and feature requests are welcome!


⭐️ If you find this project useful, please consider giving it a star on GitHub!

About

An interactive app that allows users to find and visualize routes between two locations using the GraphHopper Routing API and OpenStreetMap.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0