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