isTrafficEnabled method

Future<bool> isTrafficEnabled()

Checks if the map is displaying traffic data.

Implementation

Future<bool> isTrafficEnabled() async {
  return GoogleMapsNavigationPlatform.instance
      .isTrafficEnabled(viewId: _viewId);
}