setNewMapStatus method

Future<bool> setNewMapStatus (
  1. {@required BMFMapStatus mapStatus,
  2. int animateDurationMs}
)

更新地图新状态

BMFMapStatus mapStatus 地图新状态

animateDurationMs 动画更新时间

bool 成功返回true 失败false

Implementation

Future<bool> setNewMapStatus(
    {@required BMFMapStatus mapStatus, int animateDurationMs}) async {
  return await BMFMapDispatcherFactory.instance.mapStatusDispatcher
      .setNewMapStatus(_mapChannel,
          mapStatus: mapStatus, animateDurationMs: animateDurationMs);
}