updatePosition method
- BMFCoordinate position
更新位置经纬度
Implementation
Future<bool> updatePosition(BMFCoordinate position) async {
if (null == position) {
return false;
}
this.position = position;
return await BMFMapDispatcherFactory.instance
.getMarkerDispatcher()
.updateMarkerMember(this.getMethodChannel(), {
'id': this.getId(),
'member': 'position',
'value': position.toMap(),
});
}