Skip to main content

valhalla_routing_client 0.0.2 copy "valhalla_routing_client: ^0.0.2" to clipboard
valhalla_routing_client: ^0.0.2 copied to clipboard

Dart Valhalla API Client

Valhalla Routing Client (unofficial) #

Pub Version

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.

Features #

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

Installation #

Add this to your pubspec.yaml:

dependencies:
  valhalla_routing_client: ^0.0.2

πŸš€ Getting Started #

Routing #

final 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);

🀝 Contributing #

Contributions are welcome!

  • Report bugs
  • Suggest features
  • Submit pull requests

πŸ“„ License #

This project is released under the GNU AGPLv3. See the LICENSE file for details.

2
likes
140
points
22
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Dart Valhalla API Client

Repository (GitHub)
View/report issues

License

AGPL-3.0 (license)

Dependencies

dio

More

Packages that depend on valhalla_routing_client