OSRMRequest class

Constructors

OSRMRequest.route({required List<LngLat> waypoints, Languages languages = Languages.en, RoutingType routingType = RoutingType.car, bool steps = true, Overview overview = Overview.full, Geometries geometries = Geometries.polyline, bool? alternatives = false})
const
OSRMRequest.trip({required List<LngLat> waypoints, Languages languages = Languages.en, RoutingType routingType = RoutingType.car, bool steps = true, Overview overview = Overview.full, Geometries geometries = Geometries.polyline, bool roundTrip = true, SourceGeoPointOption source = SourceGeoPointOption.any, DestinationGeoPointOption destination = DestinationGeoPointOption.any})
const

Properties

alternatives int
finalinherited
destination DestinationGeoPointOption
final
geometries Geometries
final
hasAlternative bool?
final
hashCode int
The hash code for this object.
no setterinherited
languages Languages
finalinherited
overview Overview
final
profile Profile
final
roundTrip bool
final
routingType RoutingType
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
source SourceGeoPointOption
final
steps bool
final
waypoints List<LngLat>
finalinherited

Methods

encodeHeader() String
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited