updatePosition method
- BMFCoordinate position
更新Text经纬度
BMFCoordinate
position 圆心点经纬度
Implementation
Future<bool> updatePosition(BMFCoordinate position) async {
if (null == position) {
return false;
}
bool ret = await BMFMapDispatcherFactory.instance.overlayDispatcher
.updateTextMember(this.methodChannel,
{'id': this.Id, 'member': 'position', 'value': position?.toMap()});
if (ret) {
this.position = position;
}
return ret;
}