startFreeDrive method

Future<bool?> startFreeDrive({
  1. MapOptions? options,
})

Free-drive mode is a unique Mapbox Navigation SDK feature that allows drivers to navigate without a set destination. This mode is sometimes referred to as passive navigation. Begins to generate Route Progress

Implementation

Future<bool?> startFreeDrive({MapOptions? options}) async {
  options ??= _defaultOptions;
  return VietmapNavigationPluginPlatform.instance.startFreeDrive(options);
}