routing_engine 0.4.1
routing_engine: ^0.4.1 copied to clipboard
One routing API, multiple backends. Engine-agnostic interface with OSRM and Valhalla implementations. Switch between local and public servers without rewriting app logic.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add routing_engineWith Flutter:
$ flutter pub add routing_engineThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
routing_engine: ^0.4.1Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:routing_engine/routing_engine.dart';