updateEnabled method
- bool enabled
更新marker是否响应触摸事件, true则响应,false则不响应
Implementation
Future<bool> updateEnabled(bool enabled) async {
bool ret = await BMFMapDispatcherFactory.instance.markerDispatcher
.updateMarkerMember(this.methodChannel, {
'id': this.Id,
'member': 'enabled',
'value': enabled,
});
if (ret) {
this.enabled = enabled;
}
return ret;
}