updateIsKeepScale method
- bool isKeepScale
更新纹理宽、高是否保持原比例渲染
Android独有
Implementation
Future<bool> updateIsKeepScale(bool isKeepScale) async {
if (this.isKeepScale == isKeepScale) {
return true;
}
bool ret = await BMFMapDispatcherFactory.instance.overlayDispatcher
.updatePolylineMember(this.methodChannel,
{'id': this.Id, 'member': 'isKeepScale', 'value': isKeepScale});
if (ret) {
this.isKeepScale = isKeepScale;
}
return ret;
}