graphhopper / directions-api-js-client

JavaScript client for the GraphHopper Directions API
https://graphhopper.com/api/1/examples
108 stars 85 forks source link

Improve GraphHopperRouting #21

Closed boldtrn closed 7 years ago

boldtrn commented 7 years ago

I added some improvements to the GraphHopperRouting implementation. I made it possible to access /info and /i18n, also I added coordinates to the instructions to make it easier for users to use them. Therefore, this PR solves #20.

BTW: I increased the timeout for the MapMatching since I ran into a couple of timeouts.

boldtrn commented 7 years ago

It would be good if we could reference the whole leg for the instructions, instead of just the first point.

karussell commented 7 years ago

Looks good. Do you want a new PR for referencing the whole geometry? (I.e. should I wait or merge :) ?)

boldtrn commented 7 years ago

Do you want a new PR for referencing the whole geometry? (I.e. should I wait or merge :) ?)

Just added it :)