setMapRegionWillChangeWithReasonCallback method

void setMapRegionWillChangeWithReasonCallback (
  1. {@required BMFMapRegionChangeReasonCallback callback}
)

设置地图区域即将改变时会调用接口

BMFMapRegionChangeReasonCallback callback 回调接口

Implementation

void setMapRegionWillChangeWithReasonCallback(
    {@required BMFMapRegionChangeReasonCallback callback}) {
  if (_methodChannelHandler != null || callback != null) {
    _methodChannelHandler.setMapRegionWillChangeWithReasonCallback(callback);
  }
}