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
.updatePolygonMember(this.methodChannel, {
'id': this.Id,
'member': 'hollowShapes',
'value': hollowShapes?.map((e) => e?.toMap())?.toList()
});
if (ret) {
this.hollowShapes = hollowShapes;
}
return ret;
}