OlaRoutingService class
Service for interacting with Ola Maps Routing API
Constructors
- OlaRoutingService({required String apiKey})
Properties
Methods
-
getDirections(
{required double originLat, required double originLng, required double destLat, required double destLng}) → Future< List< Map< >String, double> > - Fetch directions from origin to destination Returns list of LatLng points representing the route
-
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