updateClickable method
- bool clickable
更新polyLine是否可点击
Android独有
Implementation
Future<bool> updateClickable(bool clickable) async {
if (this.clickable == clickable) {
return true;
}
bool ret = await BMFMapDispatcherFactory.instance.overlayDispatcher
.updatePolylineMember(this.methodChannel,
{'id': this.Id, 'member': 'clickable', 'value': clickable});
if (ret) {
this.clickable = clickable;
}
return ret;
}