Promise-based web client for the Valhalla Open Source Routing Engine.
import { Valhalla } from "@routingjs/valhalla" const v = new Valhalla() // URL defaults to http://valhalla1.openstreetmap.de v.directions( [ [8.512516, 47.380742], [8.557835, 47.359467], ], "auto" ).then((d) => { // do stuff with the directions response d.directions.forEach((direction) => { console.log(direction.feature) }) })
npm install @routingjs/valhalla
This package is part of the RoutingJS project, which aims to provide consistent access to various vehicle routing APIs.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4