updateIsKeepScale method
- bool isKeepScale
更新纹理宽、高是否保持原比例渲染
Implementation
Future<bool> updateIsKeepScale(bool isKeepScale) async {
this.isKeepScale = isKeepScale;
return await BMFMapDispatcherFactory.instance
.getOverlayDispatcher()
.updateOverlayMemberDispatch(this.getMethodChannel(), {
'id': this.getId(),
'member': 'isKeepScale',
'value': isKeepScale,
});
}