osrm 0.0.8 osrm: ^0.0.8 copied to clipboard
Open Source Routing Machine (OSRM) client for Dart.
Examples #
for simple use:
import 'package:osrm/osrm.dart';
void main() async {
final osrm = Osrm();
final options = RouteRequest(
coordinates: [
(2.829099,36.479960),
(2.825987,36.473662),
],
);
final route = await osrm.route(options);
print(route);
}
here you can find another example with dart: #
here you can find another example with flutter: #