updateVisible method
- bool visible
更新polyline是否显示
Android独有
Implementation
Future<bool> updateVisible(bool visible) async {
if (this.visible == visible) {
return true;
}
bool ret = await BMFMapDispatcherFactory.instance.overlayDispatcher
.updatePolylineMember(this.methodChannel,
{'id': this.Id, 'member': 'visible', 'value': visible});
if (ret) {
this.visible = visible;
}
return ret;
}