updatePosition method
- BMFCoordinate position
更新Ground 位置, Android独有
BMFCoordinate
position ground位置
Implementation
Future<bool> updatePosition(BMFCoordinate position) async {
if (null == position) {
return false;
}
bool ret = await BMFMapDispatcherFactory.instance.overlayDispatcher
.updateGroundMember(this.methodChannel,
{'id': this.Id, 'member': 'position', 'value': position?.toMap()});
if (ret) {
this.position = position;
}
return ret;
}