Skip to content

Commit

Permalink
Readme fix: Replace Valhalla from Mapbox by local Valhalla option (#124)
Browse files Browse the repository at this point in the history
  • Loading branch information
1Maxnet1 committed Jan 29, 2024
1 parent da93ea1 commit 3432ce4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ or **time-distance matrices**.

**routingpy** currently includes support for the following services:

- `Mapbox, either Valhalla or OSRM`_
- `Mapbox, OSRM`_
- `Openrouteservice`_
- `Here Maps`_
- `Google Maps`_
Expand Down Expand Up @@ -170,13 +170,13 @@ the ``raw`` attribute:

.. code:: python
from routingpy import MapboxValhalla
from routingpy import Valhalla
from pprint import pprint
# Some locations in Berlin
coords = [[13.413706, 52.490202], [13.421838, 52.514105],
[13.453649, 52.507987], [13.401947, 52.543373]]
client = MapboxValhalla(api_key='mapbox_key')
client = Valhalla()
route = client.directions(locations=coords, profile='pedestrian')
isochrones = client.isochrones(locations=coords[0], profile='pedestrian', intervals=[600, 1200])
Expand Down Expand Up @@ -288,7 +288,7 @@ All these parameters, and more, can optionally be **globally set** for all route
options.default_skip_api_error = True
.. _Mapbox, either Valhalla or OSRM: https://docs.mapbox.com/api/navigation
.. _Mapbox, OSRM: https://docs.mapbox.com/api/navigation
.. _Openrouteservice: https://openrouteservice.org/dev/#/api-docs
.. _Here Maps: https://developer.here.com/documentation
.. _Google Maps: https://developers.google.com/maps/documentation
Expand Down

0 comments on commit 3432ce4

Please sign in to comment.