updateAnchorX method
- double anchorX
更新位置绘制时图片的锚点x, Android独有
anchorX 用位置绘制时图片的锚点x,图片左上角为(0.0f,0.0f),向右向下为正
Implementation
Future<bool> updateAnchorX(double anchorX) async {
bool ret = await BMFMapDispatcherFactory.instance.overlayDispatcher
.updateGroundMember(this.methodChannel,
{'id': this.Id, 'member': 'anchorX', 'value': anchorX});
if (ret) {
this.anchorX = anchorX;
}
return ret;
}