updateBounds method
- BMFCoordinateBounds bounds
更新绘制的地理区域范围, Android独有
BMFCoordinateBounds
bounds 绘制的地理区域范围
Implementation
Future<bool> updateBounds(BMFCoordinateBounds bounds) async {
if (null == bounds) {
return false;
}
bool ret = await BMFMapDispatcherFactory.instance.overlayDispatcher
.updateGroundMember(this.methodChannel,
{'id': this.Id, 'member': 'bounds', 'value': bounds?.toMap()});
if (ret) {
this.bounds = bounds;
}
return ret;
}