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