routing_client_dart library
Classes
- Leg
- LngLat
- LngLat representative class of geographic point for longitude and latitude
- Location
- Maneuver
- OpenRouteHeader
- OSRMRequest
- OSRMRoad
- OSRMRoad
- OSRMRoutingService
- RoadLeg
- Route
- RouteInstruction
- RoutingManager
- RoutingManager
- RoutingManagerConfiguration
- RoutingService
- Summary
- Trip
- ValhallaRequest
- ValhallaResponse
- ValhallaRouteInstruction
- ValhallaRoutingService
Enums
Extensions
- DecodingExt on String
-
EncodeExt
on List<
LngLat> - EncodeGeoPointExt on num
- ExtList on List?
- ExtLngLat on LngLat
-
ExtMap
on Map<
String, dynamic> - PrvRoutingManager on RoutingManager
-
TransformToWaysOSRM
on List<
LngLat>
Constants
- earthRadius → const double
- osmValhallaServer → const String
- oSRMServer → const String
Functions
-
convertNestedLngLatToList(
List nestedList) → List -
parseRoad(
ParserRoadComputeArg data) → Future< OSRMRoad> - parseRoad
-
parseToDouble(
dynamic value) → double -
parseTrip(
ParserTripComputeArg data) → Future< OSRMRoad> -
parseTrip
this method used to parse json get from trip service,
the
data
isParserTripComputeArg
that contain information need it to be parsed toRoad
such as json map and language that will be instruction returnRoad
object that contain list of waypoint and other information this road represent trip that will pass by all geopoint entered as args and this road will not be the shortes route
Typedefs
- TurnByTurnInformation = ({RouteInstruction currentInstruction, double distance, RouteInstruction? nextInstruction})