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