updateRotate method
- double rotate
更新Text 旋转角度
rotate 旋转角度
Implementation
Future<bool> updateRotate(double rotate) async {
if (rotate < -1) {
return false;
}
bool ret = await BMFMapDispatcherFactory.instance.overlayDispatcher
.updateTextMember(this.methodChannel,
{'id': this.Id, 'member': 'rotate', 'value': rotate});
if (ret) {
this.rotate = rotate;
}
return ret;
}