setZoomPointBy method

Future<bool> setZoomPointBy (
  1. double amount,
  2. BMFPoint focus,
  3. {int animateDurationMs}
)

根据给定增量以及给定的屏幕坐标缩放地图级别(Android独有)

amount 地图缩放级别增量

BMFPoint focus 地图缩放中心点屏幕坐标, 若为 null 则返回 null

animateDurationMs 动画更新时间

bool 成功返回true 失败false

Implementation

Future<bool> setZoomPointBy(double amount, BMFPoint focus,
    {int animateDurationMs}) async {
  return await BMFMapDispatcherFactory.instance.mapStatusDispatcher
      .setZoomPointBy(_mapChannel, amount, focus,
          animateDurationMs: animateDurationMs);
}