Giter Club home page Giter Club logo

graphhopper-maps's Introduction

GraphHopper Maps

A route planner user interface for the GraphHopper routing engine released under the Apache License 2.0.

Try it out!

We have developed an intuite and simple user interface to find routes:

GraphHopper Maps route planner

With autocomplete, alternative routes, information along the route and POI search and everything available in all major browsers including mobile browsers. Read more details about it here.

Turn-by-Turn navigation

There is an experimental navi branch that implements turn-by-turn navigation directly in the browser.

Start development:

  • Clone this repository.
  • Make sure node and npm are installed. We recommend using the iron LTS (node v20.14.0 and npm 10.7.0).
  • npm install
  • npm run serve
  • Open your browser at http://0.0.0.0:3000/.
  • Start development. The browser will update automatically when you change the code.
  • Format the code and run the tests using npm run format and npm run test.
  • Fork the repository and create a pull request. Contributions are welcome. Feel free to discuss your changes in our forum or the GitHub issues.
  • You can build the production bundle using npm run build.
  • If you use the Directions API edit the config to show profile icons properly (see 'Advanced configuration' section below).

Help with translations:

GraphHopper Maps is translated into many languages and you can help improve GraphHopper by adding or improving your language! See this spreadsheet to create a new or improve an existing language. Let us know if you changed something or submit a pull request with your changes after the following steps:

  • Edit the spreadsheet
  • Run python update-translations.py
  • Review your changes via e.g. http://localhost:3000/?locale=en and with git diff. Make sure that is the only one with git status.

Please note that the translations for the server-side turn instructions are located in a different repository.

Advanced configuration

You can point the app to a different url, like a local GraphHopper server, set your own API keys for the different map tile providers and more in the config.js file. For such changes it is best to create a copy of this file called config-local.js which will be ignored by git.

Further Notes

Every branch of this repository can be tested at https://graphhopper.com/maps-dev/<branch_name>/

Powered By

This project uses

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.