setVisibleMapBounds method
- BMFCoordinateBounds visibleMapBounds,
- bool animated
设置显示在屏幕中的地图地理范围
BMFCoordinateBounds
visibleMapBounds 要设定的地图范围(东北,西南)角坐标
animated 是否采用动画效果 (ios 独有)
bool 成功返回true 失败false
Implementation
Future<bool> setVisibleMapBounds(
BMFCoordinateBounds visibleMapBounds, bool animated) async {
return await BMFMapDispatcherFactory.instance.mapStatusDispatcher
.setVisibleMapBounds(_mapChannel, visibleMapBounds, animated);
}