updateHollowShapes method
- List<
BMFHollowShape> hollowShapes
更新镂空区
List<BMFHollowShape> hollowShapes 镂空列表
Implementation
Future<bool> updateHollowShapes(List<BMFHollowShape> hollowShapes) async {
if (hollowShapes == null) {
return false;
}
bool ret = await BMFMapDispatcherFactory.instance.overlayDispatcher
.updateCircleMember(this.methodChannel, {
'id': this.Id,
'member': 'hollowShapes',
'value': hollowShapes?.map((e) => e?.toMap())?.toList()
});
if (ret) {
this.hollowShapes = hollowShapes;
}
return ret;
}