showUserLocation method

Future<bool> showUserLocation (
  1. bool show
)

地图设定是否显示定位图层

show 展示ture 隐藏false

bool 成功返回true 失败false

Implementation

Future<bool> showUserLocation(bool show) async {
  return await BMFMapDispatcherFactory.instance
      .getMapUserLocationDispatcher()
      .setShowUserLocationDispatch(_mapChannel, show);
}