An unofficial Dart wrapper for the Valhalla-APIs. Provides easy access to routing, matrix, isochrone, and other geospatial services for Dart and Flutter projects.
Note
This project is not affiliated with the official Valhalla project. It is a community-built implementation.
Warning
This package is still under development.
Supported:
- 🚗 Turn-By-Turn Route API (basic)
Planned:
- 🚗 Turn-By-Turn Route API
- 🧭 Optimized Route API
- ⏱ Matrix API
- 🌀 Isochrone API
- 🎯 Map Matching API
- 📍 Locate API
- 🏔 Elevation API
- 🧩 Expansion API
- 📊 Status API
- 🗺️ Tile API
Add this to your pubspec.yaml:
dependencies:
valhalla_routing_client: ^0.0.2final client = RouteService(
serverURL: 'https://valhalla1.openstreetmap.de', // Your Valhalla server
);
final route = await client.routeVia(
stops: [
LatLng(lat: 48.137215, lng: 11.575628),
LatLng(lat: 47.437963, lng: 11.271206),
],
);
print(route.trip.summary.length);Contributions are welcome!
- Report bugs
- Suggest features
- Submit pull requests
This project is released under the GNU AGPLv3.
See the LICENSE file for details.