boldtrn / graphhopper-maps

GraphHopper Maps UI 2.0 - a successor of our jquery-based maps web app. Feedback is very welcome.

Home Page:https://graphhopper.com/maps2/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GraphHopper Maps

This is the UI for the GraphHopper routing engine. It was rewritten from scratch and will replace the jquery-based maps UI.

Try it at graphhopper.com/maps2.

Get started:

  • copy config.js to config-local.js and enter your GraphHopper API key for routing (get it at https://www.graphhopper.com) or change the 'api' field and point it at your local GraphHopper server, e.g. api: http://localhost:8989/.
  • optional: setup api keys for the other tile providers, see MapOptionsStore.ts. you can also change the default tile layer in config-local.js
  • make sure node/npm is installed. we recommend using the fermium LTS (node v14.18.1 & npm v6.14.15)
  • npm install
  • npm run serve
  • open browser at http://0.0.0.0:3000/
  • development deploys are at http://gh-maps-react.s3-website.eu-central-1.amazonaws.com/master/. (Replace 'master' with the actual branch name)

About

GraphHopper Maps UI 2.0 - a successor of our jquery-based maps web app. Feedback is very welcome.

https://graphhopper.com/maps2/

License:Apache License 2.0


Languages

Language:TypeScript 90.0%Language:CSS 5.8%Language:JavaScript 3.0%Language:Python 0.8%Language:HTML 0.4%