tboychuk / directions-api-js-client

JavaScript client for the GraphHopper Directions API

Home Page:https://graphhopper.com/api/1/examples

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

JavaScript client for the Directions API

This project offers JavaScript clients and examples for the GraphHopper Directions API.

Try the live examples here.

Also see how we integrated the Routing and the Geocoding API to build a fully featured maps application called GraphHopper Maps

First step to play with the code is to get this repository:

git clone https://github.com/graphhopper/directions-api-js-client/

Now open index.html in your browser.

Dependencies

Currently all JavaScript clients require jQuery (tested with 2.1.0) and the small file GHUtil.js, both included in this repository.

Integrate the APIs in your application

GraphHopper Routing API

GraphHopper Routing API screenshot

You need the routing client.

There is also a different client developed from the community here.

GraphHopper Route Optimization API

Route Optimization API screenshot

You need the optimization client.

GraphHopper Matrix API

GraphHopper Matrix API screenshot

You need the matrix client.

GraphHopper Geocoding API

GraphHopper Geocoding API screenshot

You need the geocoding client.

License

Code stands under Apache License 2.0

About

JavaScript client for the GraphHopper Directions API

https://graphhopper.com/api/1/examples


Languages

Language:JavaScript 90.7%Language:CSS 5.1%Language:HTML 4.2%