startNavigation method

Future<bool?> startNavigation(
  1. List<WayPoint> wayPoints,
  2. MapOptions options
)

Show the Navigation View and Begins Direction Routing

wayPoints must not be null and have at least 2 items. A collection of WayPoint(longitude, latitude and name). Must be at least 2 or at most 25. Cannot use drivingWithTraffic mode if more than 3-waypoints. options options used to generate the route and used while navigating Begins to generate Route Progress

Implementation

Future<bool?> startNavigation(
  List<WayPoint> wayPoints,
  MapOptions options,
) async {
  throw UnimplementedError('startNavigation() has not been implemented.');
}