updateCenterOffset method
- BMFPoint centerOffset
更新marker centerOffset信息
Implementation
Future<bool> updateCenterOffset(BMFPoint centerOffset) async {
if (null == centerOffset) {
return false;
}
bool ret = await BMFMapDispatcherFactory.instance.markerDispatcher
.updateMarkerMember(this.methodChannel, {
'id': this.Id,
'member': 'centerOffset',
'value': centerOffset?.toMap(),
});
if (ret) {
this.centerOffset = centerOffset;
}
return ret;
}