MapMatchingApi class
The Mapbox Map Matching API snaps fuzzy, inaccurate traces from a GPS unit or a phone to the OpenStreetMap road and path network using the Directions API.
Constructors
- MapMatchingApi(MapboxApi api, {String version = 'v5', String endpoint = 'https://api.mapbox.com/matching'})
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
request(
{NavigationProfile? profile, List< List< coordinates = const <List<double>>[], List<double> >NavigationAnnotations> annotations = const <NavigationAnnotations>[], NavigationApproaches approaches = NavigationApproaches.UNRESTRICTED, NavigationGeometries geometries = NavigationGeometries.POLYLINE, String language = 'en', NavigationOverview overview = NavigationOverview.SIMPLIFIED, List<double> radiuses = const <double>[], bool steps = false, bool tidy = false, List<int> timestamps = const <int>[], List<String> waypointNames = const <String>[], List<List< waypoints = const <List<double>>[]}) → Future<double> >MapMatchingApiResponse> - Return a path on the road and path network that is closest to the input traces.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited