updateRadius method
- double radius
更新半径
Implementation
Future<bool> updateRadius(double radius) async {
if (radius < 0) {
return false;
}
bool ret = await BMFMapDispatcherFactory.instance.overlayDispatcher
.updateCircleMember(this.methodChannel,
{'id': this.Id, 'member': 'radius', 'value': radius});
if (ret) {
this.radius = radius;
}
return ret;
}