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