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