getTrafficEnabled method

Future<bool> getTrafficEnabled ()

获取map是否打开路况图层(在某些Android机型上,路况图无法正常展示)

trafficEnabled 是否打开路况图层

Implementation

Future<bool> getTrafficEnabled() async {
  return await BMFMapDispatcherFactory.instance.mapGetStateDispatcher
      .getTrafficEnabled(_mapChannel);
}