Skip to content

gaiousantonio0909/OSM-Routing-Client-Dart

 
 

Repository files navigation

Routing Client Dart Package

pub

Package for osm routing client api

for now this package support only server based on osrm-backendi

client api support

  • OSRM Client Api

Installing

Add the following to your pubspec.yaml file:

dependencies:
  routing_client_dart: ^0.2.0

example

List<LngLat> waypoints = [
      LngLat(lng: 13.388860, lat: 52.517037),
      LngLat(lng: 13.397634, lat: 52.529407),
      LngLat(lng: 13.428555, lat: 52.523219),
    ];
    final manager = OSRMManager();
    final road = await manager.getRoad(
      waypoints: waypoints,
      geometrie: Geometries.polyline,
      steps: true,
      languageCode: "en",
    );

About

flutter package for osrm client api and open source routing service

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dart 100.0%